From f851f366b3317560cc767f31bd76ff18863a24c6 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 21 Oct 2024 20:24:20 +0200 Subject: [PATCH] fix: run Electron tests (#543) --- src/playwrightTestServer.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/playwrightTestServer.ts b/src/playwrightTestServer.ts index 8232b3afd..08b36f40b 100644 --- a/src/playwrightTestServer.ts +++ b/src/playwrightTestServer.ts @@ -369,6 +369,8 @@ export class PlaywrightTestServer { return { ...this._options.envProvider(), FORCE_COLOR: '1', + // Reset VSCode's options that affect nested Electron. + ELECTRON_RUN_AS_NODE: undefined, }; }, dumpIO: false,