Moved TS_NODE_PROJECT configuration to mocha setup script

This commit is contained in:
brisberg
2020-08-07 14:58:32 -07:00
parent efa6cba180
commit ab4921711c
4 changed files with 6 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
"push-main": "rollup -c --environment DEST:main",
"push-pserver": "rollup -c --environment DEST:pserver",
"push-sim": "rollup -c --environment DEST:sim",
"test": "export TS_NODE_PROJECT='./tsconfig.test.json' && npm run test-unit",
"test": "npm run test-unit",
"test-unit": "mocha test/unit/**/*.ts",
"test-integration": "echo 'See docs/in-depth/testing.md for instructions on enabling integration tests'",
"watch-main": "rollup -cw --environment DEST:main",