diff --git a/test/api-visibility.ts b/test/api-visibility.ts index 47b222b165..ce50008948 100644 --- a/test/api-visibility.ts +++ b/test/api-visibility.ts @@ -2,10 +2,10 @@ * Tests of API (visibility) * * How to run the tests: - * > npx mocha test/api-visibility.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true npx mocha test/api-visibility.ts --require ts-node/register * * To specify test: - * > npx mocha test/api-visibility.ts --require ts-node/register -g 'test name' + * > npx cross-env TS_NODE_FILES=true npx mocha test/api-visibility.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 diff --git a/test/api.ts b/test/api.ts index 5c22cd3c3e..5dd408c755 100644 --- a/test/api.ts +++ b/test/api.ts @@ -2,10 +2,10 @@ * Tests of API * * How to run the tests: - * > npx mocha test/api.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true npx mocha test/api.ts --require ts-node/register * * To specify test: - * > npx mocha test/api.ts --require ts-node/register -g 'test name' + * > npx cross-env TS_NODE_FILES=true npx mocha test/api.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 diff --git a/test/chart.ts b/test/chart.ts index 4f626ed9a2..9518a44e62 100644 --- a/test/chart.ts +++ b/test/chart.ts @@ -2,10 +2,10 @@ * Tests of chart engine * * How to run the tests: - * > npx mocha test/chart.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true npx mocha test/chart.ts --require ts-node/register * * To specify test: - * > npx mocha test/chart.ts --require ts-node/register -g 'test name' + * > npx cross-env TS_NODE_FILES=true npx mocha test/chart.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 diff --git a/test/mfm.ts b/test/mfm.ts index 12d9563e58..727fb01a5f 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -2,10 +2,10 @@ * Tests of MFM * * How to run the tests: - * > npx mocha test/mfm.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true npx mocha test/mfm.ts --require ts-node/register * * To specify test: - * > npx mocha test/mfm.ts --require ts-node/register -g 'test name' + * > npx cross-env TS_NODE_FILES=true npx mocha test/mfm.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 diff --git a/test/mute.ts b/test/mute.ts index 1b1a8d7a51..b3e8a0320d 100644 --- a/test/mute.ts +++ b/test/mute.ts @@ -2,10 +2,10 @@ * Tests of mute * * How to run the tests: - * > npx mocha test/mute.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true npx mocha test/mute.ts --require ts-node/register * * To specify test: - * > npx mocha test/mute.ts --require ts-node/register -g 'test name' + * > npx cross-env TS_NODE_FILES=true npx mocha test/mute.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 diff --git a/test/note.ts b/test/note.ts index 3aa12b5a61..db34f79141 100644 --- a/test/note.ts +++ b/test/note.ts @@ -2,10 +2,10 @@ * Tests of Note * * How to run the tests: - * > npx mocha test/note.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true npx mocha test/note.ts --require ts-node/register * * To specify test: - * > npx mocha test/note.ts --require ts-node/register -g 'test name' + * > 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 diff --git a/test/prelude/maybe.ts b/test/prelude/maybe.ts index 0fc7272a9a..d4d7271079 100644 --- a/test/prelude/maybe.ts +++ b/test/prelude/maybe.ts @@ -2,10 +2,10 @@ * Tests of Maybe * * How to run the tests: - * > npx mocha test/prelude/maybe.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true npx mocha test/prelude/maybe.ts --require ts-node/register * * To specify test: - * > npx mocha test/prelude/maybe.ts --require ts-node/register -g 'test name' + * > npx cross-env TS_NODE_FILES=true npx mocha test/prelude/maybe.ts --require ts-node/register -g 'test name' */ import * as assert from 'assert'; diff --git a/test/reaction-lib.ts b/test/reaction-lib.ts index e52ec61b35..865acb96b4 100644 --- a/test/reaction-lib.ts +++ b/test/reaction-lib.ts @@ -2,10 +2,10 @@ * Tests of MFM * * How to run the tests: - * > npx mocha test/reaction-lib.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true npx mocha test/reaction-lib.ts --require ts-node/register * * To specify test: - * > npx mocha test/reaction-lib.ts --require ts-node/register -g 'test name' + * > npx cross-env TS_NODE_FILES=true npx mocha test/reaction-lib.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 diff --git a/test/streaming.ts b/test/streaming.ts index 23d01757d0..892d16651b 100644 --- a/test/streaming.ts +++ b/test/streaming.ts @@ -2,10 +2,10 @@ * Tests of streaming API * * How to run the tests: - * > npx mocha test/streaming.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true npx mocha test/streaming.ts --require ts-node/register * * To specify test: - * > npx mocha test/streaming.ts --require ts-node/register -g 'test name' + * > npx cross-env TS_NODE_FILES=true npx mocha test/streaming.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 diff --git a/test/user-notes.ts b/test/user-notes.ts index 5094180202..b8d28861cb 100644 --- a/test/user-notes.ts +++ b/test/user-notes.ts @@ -2,10 +2,10 @@ * Tests of Note * * How to run the tests: - * > npx mocha test/user-notes.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true npx mocha test/user-notes.ts --require ts-node/register * * To specify test: - * > npx mocha test/user-notes.ts --require ts-node/register -g 'test name' + * > 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