|
29 | 29 | "program": "${workspaceRoot}/node_modules/.bin/_mocha",
|
30 | 30 | "cwd": "${workspaceRoot}/packages/firestore",
|
31 | 31 | "args": [
|
32 |
| - "--require", "ts-node/register/type-check", |
| 32 | + "--require", "babel-register.js", |
33 | 33 | "--require", "index.node.ts",
|
34 | 34 | "--timeout", "5000",
|
35 | 35 | "test/{,!(browser|integration)/**/}*.test.ts",
|
36 | 36 | "--exit"
|
37 | 37 | ],
|
38 |
| - "env": { |
39 |
| - "TS_NODE_CACHE": "NO", |
40 |
| - "TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}" |
41 |
| - }, |
42 | 38 | "sourceMaps": true,
|
43 | 39 | "protocol": "inspector"
|
44 | 40 | },
|
|
49 | 45 | "program": "${workspaceRoot}/node_modules/.bin/_mocha",
|
50 | 46 | "cwd": "${workspaceRoot}/packages/firestore",
|
51 | 47 | "args": [
|
52 |
| - "--require", "ts-node/register/type-check", |
| 48 | + "--require", "babel-register.js", |
53 | 49 | "--require", "index.node.ts",
|
54 | 50 | "--require", "test/util/node_persistence.ts",
|
55 | 51 | "--timeout", "5000",
|
56 | 52 | "test/{,!(browser|integration)/**/}*.test.ts",
|
57 | 53 | "--exit"
|
58 | 54 | ],
|
59 | 55 | "env": {
|
60 |
| - "USE_MOCK_PERSISTENCE": "YES", |
61 |
| - "TS_NODE_CACHE": "NO", |
62 |
| - "TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}" |
| 56 | + "USE_MOCK_PERSISTENCE": "YES" |
63 | 57 | },
|
64 | 58 | "sourceMaps": true,
|
65 | 59 | "protocol": "inspector"
|
|
71 | 65 | "program": "${workspaceRoot}/node_modules/.bin/_mocha",
|
72 | 66 | "cwd": "${workspaceRoot}/packages/firestore",
|
73 | 67 | "args": [
|
74 |
| - "--require", "ts-node/register/type-check", |
| 68 | + "--require", "babel-register.js", |
75 | 69 | "--require", "index.node.ts",
|
76 | 70 | "--timeout", "5000",
|
77 | 71 | "test/{,!(browser|unit)/**/}*.test.ts",
|
78 | 72 | "--exit"
|
79 | 73 | ],
|
80 | 74 | "env": {
|
81 |
| - "TS_NODE_CACHE": "NO", |
82 |
| - "TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}", |
83 | 75 | "FIRESTORE_EMULATOR_PORT" : "8080",
|
84 | 76 | "FIRESTORE_EMULATOR_PROJECT_ID" : "test-emulator"
|
85 | 77 | },
|
|
93 | 85 | "program": "${workspaceRoot}/node_modules/.bin/_mocha",
|
94 | 86 | "cwd": "${workspaceRoot}/packages/firestore",
|
95 | 87 | "args": [
|
96 |
| - "--require", "ts-node/register/type-check", |
| 88 | + "--require", "babel-register.js", |
97 | 89 | "--require", "index.node.ts",
|
98 | 90 | "--require", "test/util/node_persistence.ts",
|
99 | 91 | "--timeout", "5000",
|
|
102 | 94 | ],
|
103 | 95 | "env": {
|
104 | 96 | "USE_MOCK_PERSISTENCE": "YES",
|
105 |
| - "TS_NODE_CACHE": "NO", |
106 |
| - "TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}", |
107 | 97 | "FIRESTORE_EMULATOR_PORT" : "8080",
|
108 | 98 | "FIRESTORE_EMULATOR_PROJECT_ID" : "test-emulator"
|
109 | 99 | },
|
|
0 commit comments