Skip to content

Commit 5686479

Browse files
author
Brian Chen
authored
Make yarn test:emulator work again (#1853)
1 parent ce8ecb9 commit 5686479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firestore/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"test:browser:debug": "karma start --browsers=Chrome --auto-watch",
1818
"test:node": "TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'test/{,!(browser)/**/}*.test.ts' --file index.node.ts --opts ../../config/mocha.node.opts",
1919
"test:node:persistence": "USE_MOCK_PERSISTENCE=YES TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'test/{,!(browser)/**/}*.test.ts' --require ts-node/register --file index.node.ts --require test/util/node_persistence.ts --opts ../../config/mocha.node.opts",
20-
"test:emulator": "ts-node ../../scripts/emulator-testing/firestore-test-runner.ts",
20+
"test:emulator": "ts-node --compiler-options='{\"module\":\"commonjs\"}' ../../scripts/emulator-testing/firestore-test-runner.ts",
2121
"prepare": "yarn build"
2222
},
2323
"main": "dist/index.node.cjs.js",

0 commit comments

Comments
 (0)