diff options
Diffstat (limited to 'test/user-notes.ts')
| -rw-r--r-- | test/user-notes.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/user-notes.ts b/test/user-notes.ts index b8d28861cb..349d5fdb7c 100644 --- a/test/user-notes.ts +++ b/test/user-notes.ts @@ -2,14 +2,10 @@ * Tests of Note * * How to run the tests: - * > npx cross-env TS_NODE_FILES=true npx mocha test/user-notes.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/user-notes.ts --require ts-node/register * * To specify test: - * > npx cross-env TS_NODE_FILES=true npx mocha test/user-notes.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/user-notes.ts --require ts-node/register -g 'test name' */ process.env.NODE_ENV = 'test'; |