spec: fix fixtures path for second instance test
This commit is contained in:
parent
984e77e470
commit
b502c62111
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ describe('app module', () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('passes arguments to the second-instance event', async () => {
|
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 first = cp.spawn(process.execPath, [appPath])
|
||||||
const firstExited = emittedOnce(first, 'exit')
|
const firstExited = emittedOnce(first, 'exit')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue