Skip to content

Commit b40b30c

Browse files
Merge 4a894df into 0bcd225
2 parents 0bcd225 + 4a894df commit b40b30c

9 files changed

+14
-33
lines changed

.vscode/launch.json

+5-15
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,12 @@
2929
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
3030
"cwd": "${workspaceRoot}/packages/firestore",
3131
"args": [
32-
"--require", "ts-node/register/type-check",
32+
"--require", "babel-register.js",
3333
"--require", "index.node.ts",
3434
"--timeout", "5000",
3535
"test/{,!(browser|integration)/**/}*.test.ts",
3636
"--exit"
3737
],
38-
"env": {
39-
"TS_NODE_CACHE": "NO",
40-
"TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}"
41-
},
4238
"sourceMaps": true,
4339
"protocol": "inspector"
4440
},
@@ -49,17 +45,15 @@
4945
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
5046
"cwd": "${workspaceRoot}/packages/firestore",
5147
"args": [
52-
"--require", "ts-node/register/type-check",
48+
"--require", "babel-register.js",
5349
"--require", "index.node.ts",
5450
"--require", "test/util/node_persistence.ts",
5551
"--timeout", "5000",
5652
"test/{,!(browser|integration)/**/}*.test.ts",
5753
"--exit"
5854
],
5955
"env": {
60-
"USE_MOCK_PERSISTENCE": "YES",
61-
"TS_NODE_CACHE": "NO",
62-
"TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}"
56+
"USE_MOCK_PERSISTENCE": "YES"
6357
},
6458
"sourceMaps": true,
6559
"protocol": "inspector"
@@ -71,15 +65,13 @@
7165
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
7266
"cwd": "${workspaceRoot}/packages/firestore",
7367
"args": [
74-
"--require", "ts-node/register/type-check",
68+
"--require", "babel-register.js",
7569
"--require", "index.node.ts",
7670
"--timeout", "5000",
7771
"test/{,!(browser|unit)/**/}*.test.ts",
7872
"--exit"
7973
],
8074
"env": {
81-
"TS_NODE_CACHE": "NO",
82-
"TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}",
8375
"FIRESTORE_EMULATOR_PORT" : "8080",
8476
"FIRESTORE_EMULATOR_PROJECT_ID" : "test-emulator"
8577
},
@@ -93,7 +85,7 @@
9385
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
9486
"cwd": "${workspaceRoot}/packages/firestore",
9587
"args": [
96-
"--require", "ts-node/register/type-check",
88+
"--require", "babel-register.js",
9789
"--require", "index.node.ts",
9890
"--require", "test/util/node_persistence.ts",
9991
"--timeout", "5000",
@@ -102,8 +94,6 @@
10294
],
10395
"env": {
10496
"USE_MOCK_PERSISTENCE": "YES",
105-
"TS_NODE_CACHE": "NO",
106-
"TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}",
10797
"FIRESTORE_EMULATOR_PORT" : "8080",
10898
"FIRESTORE_EMULATOR_PROJECT_ID" : "test-emulator"
10999
},

packages/firestore/.idea/runConfigurations/All_Tests__Emulator_.xml

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/firestore/.idea/runConfigurations/All_Tests__Emulator_w__Mock_Persistence_.xml

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/firestore/.idea/runConfigurations/Integration_Tests__Emulator_.xml

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/firestore/.idea/runConfigurations/Integration_Tests__Emulator_w__Mock_Persistence_.xml

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/firestore/.idea/runConfigurations/Unit_Tests.xml

+1-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/firestore/.idea/runConfigurations/Unit_Tests__w__Mock_Persistence_.xml

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/firestore/.idea/runConfigurations/firestore_lite_Tests__Emulator_.xml

+2-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/firestore/babel.config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
["@babel/preset-env", {"targets": {"node": "10"}, "modules": "cjs"}]
55
],
66
"plugins": ["babel-plugin-transform-import-meta"]
7-
}
7+
}

0 commit comments

Comments
 (0)