mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
test(firestore): add vscode debug config for enterprise lite (#9621)
This commit is contained in:
Vendored
+25
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user