Add doc to run only one unit test
This commit is contained in:
parent
6cced8f915
commit
76434ec8e3
|
@ -146,3 +146,9 @@ Build the application and run the unit/integration tests:
|
|||
$ npm run build
|
||||
$ npm test
|
||||
```
|
||||
|
||||
If you just want to run 1 test:
|
||||
|
||||
```
|
||||
$ npm run mocha -- --exit --require ts-node/register/type-check --bail server/tests/api/index.ts
|
||||
```
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
"nodemon": "nodemon",
|
||||
"ts-node": "ts-node",
|
||||
"tslint": "tslint",
|
||||
"mocha": "mocha",
|
||||
"travis": "scripty",
|
||||
"release": "scripty",
|
||||
"client-report": "scripty"
|
||||
|
|
Loading…
Reference in New Issue