From 4bc766feb16d795ab59be6a069cc2319d0f0307b Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Tue, 1 Feb 2022 12:24:09 +0000 Subject: [PATCH] this wont work --- src/__tests__/base.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__tests__/base.test.ts b/src/__tests__/base.test.ts index 848f3be1..6ffc476c 100644 --- a/src/__tests__/base.test.ts +++ b/src/__tests__/base.test.ts @@ -15,7 +15,7 @@ test("Launch electron app", async () => { console.log(fs.readdirSync(paths.main)) - const electronApp = await electron.launch({ args: [paths.mainBuild] }); + const electronApp = await electron.launch({ args: ['main.js'] }); const appPath = await electronApp.evaluate(async ({ app }) => { // This runs in the main Electron process, parameter here is always