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.
This commit is contained in:
Paul
2025-05-13 10:31:06 -07:00
committed by GitHub
parent cd455741e5
commit e93d0baf89

View File

@@ -24,5 +24,8 @@
"runtimeArgs": ["--no-deprecation"] "runtimeArgs": ["--no-deprecation"]
}, },
// Essentially disables bun test buttons // 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"
}
} }