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

@@ -60,7 +60,7 @@ In `package.json`, add a new `test-integration` script and add the new integrati
```json
"scripts": {
"test": "export TS_NODE_PROJECT='./tsconfig.test.json' && npm run test-unit && npm run test-integration",
"test": "npm run test-unit && npm run test-integration",
"test-integration": "npm run build && mocha test/integration/**/*.ts",
}
```