Skip to content

Commit 306c34c

Browse files
extensionTestsEnv
1 parent e9dbaaa commit 306c34c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/test-harness/src/launchVscodeAndRunTests.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ export async function launchVscodeAndRunTests(extensionTestsPath: string) {
8585
useLegacyVscode || os.platform() === "win32"
8686
? undefined
8787
: [`--crash-reporter-directory=${crashDir}`, `--logsPath=${logsDir}`],
88+
extensionTestsEnv: {
89+
["NODE_OPTIONS"]:
90+
"--max-old-space-size=4096 --force-node-api-uncaught-exceptions-policy=true",
91+
},
8892
});
8993

9094
console.log(`Returned from "runTests" with value: ${code}`);

0 commit comments

Comments
 (0)