Skip to content

Commit ab61f27

Browse files
committed
test(firestore): add vscode debug config for enterprise lite
1 parent 938dc3c commit ab61f27

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

.vscode/launch.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"--timeout",
3939
"5000",
4040
"integration/**/*.test.ts",
41-
"--grep", "${input:grepString}",
41+
"--grep",
42+
"${input:grepString}"
4243
],
4344
"env": {
4445
"TS_NODE_COMPILER_OPTIONS": "{\"module\":\"commonjs\"}"
@@ -169,6 +170,29 @@
169170
},
170171
"sourceMaps": true
171172
},
173+
{
174+
"name": "Firestore Enterprise Lite Tests",
175+
"type": "node",
176+
"request": "launch",
177+
"runtimeArgs": ["-r", "ts-node/register"],
178+
"cwd": "${workspaceRoot}/packages/firestore",
179+
"program": "${workspaceRoot}/packages/firestore/scripts/run-tests.ts",
180+
"args": [
181+
"--platform",
182+
"node_lite",
183+
"--main=lite/index.ts",
184+
"test/lite/**/*.test.ts",
185+
"--grep",
186+
"${input:grepString}"
187+
],
188+
"env": {
189+
"TS_NODE_COMPILER_OPTIONS": "{\"module\":\"commonjs\"}",
190+
"FIRESTORE_TARGET_BACKEND": "nightly",
191+
"FIRESTORE_TARGET_DB_ID": "enterprise",
192+
"RUN_ENTERPRISE_TESTS": "true"
193+
},
194+
"sourceMaps": true
195+
},
172196
{
173197
"type": "node",
174198
"request": "launch",

0 commit comments

Comments
 (0)