Update commands
This commit is contained in:
parent
ec6aadb5ce
commit
65503bc68d
10 changed files with 20 additions and 56 deletions
|
@ -2,14 +2,10 @@
|
|||
* Tests of Note
|
||||
*
|
||||
* How to run the tests:
|
||||
* > npx cross-env TS_NODE_FILES=true npx mocha test/note.ts --require ts-node/register
|
||||
* > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/note.ts --require ts-node/register
|
||||
*
|
||||
* To specify test:
|
||||
* > npx cross-env TS_NODE_FILES=true npx mocha test/note.ts --require ts-node/register -g 'test name'
|
||||
*
|
||||
* If the tests not start, try set following enviroment variables:
|
||||
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
||||
* for more details, please see: https://github.com/TypeStrong/ts-node/issues/754
|
||||
* > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/note.ts --require ts-node/register -g 'test name'
|
||||
*/
|
||||
|
||||
process.env.NODE_ENV = 'test';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue