diff --git a/test/api-visibility.ts b/test/api-visibility.ts index 47b222b16..ce5000894 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 5c22cd3c3..5dd408c75 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 4f626ed9a..9518a44e6 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 12d9563e5..727fb01a5 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 1b1a8d7a5..b3e8a0320 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 3aa12b5a6..db34f7914 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 0fc7272a9..d4d727107 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 e52ec61b3..865acb96b 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 23d01757d..892d16651 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 509418020..b8d28861c 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