test(firestore): add vscode debug config for enterprise lite (#9621)

This commit is contained in:
Daniel La Rocque
2026-03-11 15:52:51 -04:00
committed by GitHub
parent acee049ca2
commit dc3964e32d
+25 -1
View File
@@ -38,7 +38,8 @@
"--timeout",
"5000",
"integration/**/*.test.ts",
"--grep", "${input:grepString}",
"--grep",
"${input:grepString}"
],
"env": {
"TS_NODE_COMPILER_OPTIONS": "{\"module\":\"commonjs\"}"
@@ -169,6 +170,29 @@
},
"sourceMaps": true
},
{
"name": "Firestore Enterprise Lite Tests",
"type": "node",
"request": "launch",
"runtimeArgs": ["-r", "ts-node/register"],
"cwd": "${workspaceRoot}/packages/firestore",
"program": "${workspaceRoot}/packages/firestore/scripts/run-tests.ts",
"args": [
"--platform",
"node_lite",
"--main=lite/index.ts",
"test/lite/**/*.test.ts",
"--grep",
"${input:grepString}"
],
"env": {
"TS_NODE_COMPILER_OPTIONS": "{\"module\":\"commonjs\"}",
"FIRESTORE_TARGET_BACKEND": "nightly",
"FIRESTORE_TARGET_DB_ID": "enterprise",
"RUN_ENTERPRISE_TESTS": "true"
},
"sourceMaps": true
},
{
"type": "node",
"request": "launch",