diff --git a/test/api-visibility.ts b/test/api-visibility.ts index 47b222b165f5e1d790809075037e929060f03f5a..ce500089482e72d85f5604a03d83a7edbd7bee6a 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 5c22cd3c3ebdfa52652b106cc8e52317ab9af000..5dd408c755c68b76a47bf5b61473da03146fff28 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 4f626ed9a2ccaa8669464e6191c0c83d9d0f3e4d..9518a44e627982efa13a8762e3e84caa94eae986 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 12d9563e58398562f5208ee59970a02b17b3e1f8..727fb01a5fac5d3b8b777e288d58f20a10f22056 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 1b1a8d7a514c2418a01e59f1b3e4984815e8d77b..b3e8a0320d7b536422c718bf65d92c3cbd5367e0 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 3aa12b5a61942dcf12a76b9fc9a68e0a52758a2b..db34f79141848525d1f74a130fe5e124349240ca 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 0fc7272a9a877576be46e1661de961e8c5d41c17..d4d72710795b35ba29e318d5b8a55957bb21debf 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 e52ec61b3507de5734d728000a459e44a41658b0..865acb96b4f55b542b9a0abf419a943d73ec1af0 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 23d01757d085d0a19d0994984896c55bbffd0ef8..892d16651be22230bfff7d10a13e675855e53b80 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 5094180202441153fdef6e8d7065f06dc63a2a3c..b8d28861cbea8d7e517f4b98d771cea0744bb334 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