Moved TS_NODE override to 'test' script

This commit is contained in:
brisberg
2020-08-07 14:32:45 -07:00
parent d776105757
commit efa6cba180
2 changed files with 4 additions and 4 deletions

View File

@@ -10,8 +10,8 @@
"push-main": "rollup -c --environment DEST:main",
"push-pserver": "rollup -c --environment DEST:pserver",
"push-sim": "rollup -c --environment DEST:sim",
"test": "npm run test-unit",
"test-unit": "TS_NODE_PROJECT='./tsconfig.test.json' mocha test/unit/**/*.ts",
"test": "export TS_NODE_PROJECT='./tsconfig.test.json' && 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",
"watch-pserver": "rollup -cw --environment DEST:pserver",