swapped to playwrights image

This commit is contained in:
Core 2022-02-01 12:08:52 +00:00
parent bc42eac153
commit 0d1d13ec6d
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
3 changed files with 8 additions and 5 deletions

View file

@ -6,7 +6,8 @@ import * as fs from "fs";
test("Launch electron app", async () => {
const paths = {
"main": join(__dirname, "../../build/main"),
"mainBuild": join(__dirname, "../../build/"),
"main": join(__dirname, "../main"),
"root": join(__dirname, "../../"),
}
@ -14,7 +15,7 @@ test("Launch electron app", async () => {
console.log(fs.readdirSync(paths.main))
const electronApp = await electron.launch({ args: [paths.main], cwd: paths.root });
const electronApp = await electron.launch({ args: [paths.mainBuild] });
const appPath = await electronApp.evaluate(async ({ app }) => {
// This runs in the main Electron process, parameter here is always