From 65503bc68d919d09b58a5447a96e65535a6c1e4f Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 7 Mar 2020 00:12:23 +0900 Subject: Update commands --- test/note.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'test/note.ts') diff --git a/test/note.ts b/test/note.ts index db34f79141..70ebecff1c 100644 --- a/test/note.ts +++ b/test/note.ts @@ -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'; -- cgit v1.2.3-freya