Skip to content

Commit dbe4086

Browse files
author
Brian Chen
authored
Make vscode tests run against emulator (#2248)
1 parent 8c2bbc3 commit dbe4086

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.vscode/launch.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@
6161
],
6262
"env": {
6363
"TS_NODE_CACHE": "NO",
64-
"TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}"
65-
64+
"TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}",
65+
"FIRESTORE_EMULATOR_PORT" : "8080",
66+
"FIRESTORE_EMULATOR_PROJECT_ID" : "test-emulator"
6667
},
6768
"sourceMaps": true,
6869
"protocol": "inspector"
@@ -84,8 +85,9 @@
8485
"env": {
8586
"USE_MOCK_PERSISTENCE": "YES",
8687
"TS_NODE_CACHE": "NO",
87-
"TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}"
88-
88+
"TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}",
89+
"FIRESTORE_EMULATOR_PORT" : "8080",
90+
"FIRESTORE_EMULATOR_PROJECT_ID" : "test-emulator"
8991
},
9092
"sourceMaps": true,
9193
"protocol": "inspector"

0 commit comments

Comments
 (0)