diff --git a/app/main.ts b/app/main.ts index bc1df5acc..f58010309 100644 --- a/app/main.ts +++ b/app/main.ts @@ -24,11 +24,11 @@ function createWindow(): BrowserWindow { webPreferences: { nodeIntegration: true, allowRunningInsecureContent: (serve) ? true : false, - contextIsolation: false, // false if you want to run 2e2 test with Spectron - enableRemoteModule : true // true if you want to run 2e2 test with Spectron or use remote module in renderer context (ie. Angular) + contextIsolation: false, // false if you want to run e2e test with Spectron + enableRemoteModule : true // true if you want to run e2e test with Spectron or use remote module in renderer context (ie. Angular) }, }); - + if (serve) { win.webContents.openDevTools();