From b502c62111068b7c8bb4ba0b66fc605474d0dca0 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Fri, 15 Mar 2019 12:29:25 -0700 Subject: [PATCH] spec: fix fixtures path for second instance test --- spec-main/api-app-spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec-main/api-app-spec.ts b/spec-main/api-app-spec.ts index 02b55ad5c213..710ec7ae86a8 100644 --- a/spec-main/api-app-spec.ts +++ b/spec-main/api-app-spec.ts @@ -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')