refactor: allow embedder overriding of internal FS calls (#17906) (#18183)

This commit is contained in:
Shelley Vohr 2019-05-07 06:44:32 -07:00 committed by John Kleinschmidt
parent 91e3421525
commit cfb6e847a0
7 changed files with 26 additions and 5 deletions

View file

@ -578,4 +578,9 @@ describe('node feature', () => {
.that.is.a('string')
.and.matches(/^\d+\.\d+\.\d+\.\d+$/)
})
it('can find a module using a package.json main field', () => {
const result = ChildProcess.spawnSync(remote.process.execPath, [path.resolve(fixtures, 'api', 'electron-main-module', 'app.asar')])
expect(result.status).to.equal(0)
})
})