spec: fix fixtures path for second instance test

This commit is contained in:
Samuel Attard 2019-03-15 12:29:25 -07:00
parent 984e77e470
commit b502c62111
No known key found for this signature in database
GPG key ID: 191FEF027779CC6C

View file

@ -208,7 +208,7 @@ describe('app module', () => {
})
it('passes arguments to the second-instance event', async () => {
const appPath = path.join(__dirname, 'fixtures', 'api', 'singleton')
const appPath = path.join(fixturesPath, 'api', 'singleton')
const first = cp.spawn(process.execPath, [appPath])
const firstExited = emittedOnce(first, 'exit')