From e93d0baf8957342a0cfb499de382c185fb330487 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 13 May 2025 10:31:06 -0700 Subject: [PATCH] chore: add NODE_OPTIONS to vscode settings by default in the repo for playwright extension (#12390) The official playwright extension when using the debug button to run tests in debug mode doesn't pick up the `tests/test.env` file as expected. I've added the same `NODE_OPTIONS` to the vscode settings JSON for this extension which fixes an error when running e2e tests in debug mode. --- .vscode/settings.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index b1311e382..7d4c0086b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -24,5 +24,8 @@ "runtimeArgs": ["--no-deprecation"] }, // Essentially disables bun test buttons - "bun.test.filePattern": "bun.test.ts" + "bun.test.filePattern": "bun.test.ts", + "playwright.env": { + "NODE_OPTIONS": "--no-deprecation --no-experimental-strip-types" + } }