Skip to content

Commit 0d98e75

Browse files
committed
revert firefox_spec changes
1 parent c790fcb commit 0d98e75

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/server/test/unit/browsers/firefox_spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,14 +235,16 @@ describe('lib/browsers/firefox', () => {
235235
},
236236
})
237237

238+
utils.writeExtension.restore()
239+
238240
const getFile = function (path) {
239241
return _.reduce(_.compact(_.split(path, '/')), (acc, item) => {
240242
return acc.getItem(item)
241243
}, mockfs.getMockRoot())
242244
}
243245

244246
return firefox.open(this.browser, 'http://', this.options).then(() => {
245-
expect(getFile(`${process.env.HOME }/.config/Cypress/cy/test/browsers/firefox-stable/interactive/CypressExtension/background.js`).getMode()).to.be.equals(0o444)
247+
expect(getFile(`${process.env.HOME }/.config/Cypress/cy/test/browsers/firefox-stable/interactive/CypressExtension/background.js`).getMode()).to.be.equals(0o644)
246248
})
247249
})
248250

0 commit comments

Comments
 (0)