From 65503bc68d919d09b58a5447a96e65535a6c1e4f Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 7 Mar 2020 00:12:23 +0900 Subject: [PATCH] Update commands --- test/api-visibility.ts | 8 ++------ test/api.ts | 8 ++------ test/chart.ts | 8 ++------ test/mfm.ts | 8 ++------ test/mute.ts | 8 ++------ test/note.ts | 8 ++------ test/prelude/maybe.ts | 4 ++-- test/reaction-lib.ts | 8 ++------ test/streaming.ts | 8 ++------ test/user-notes.ts | 8 ++------ 10 files changed, 20 insertions(+), 56 deletions(-) diff --git a/test/api-visibility.ts b/test/api-visibility.ts index ce5000894..5fbea02df 100644 --- a/test/api-visibility.ts +++ b/test/api-visibility.ts @@ -2,14 +2,10 @@ * Tests of API (visibility) * * How to run the tests: - * > npx cross-env TS_NODE_FILES=true npx mocha test/api-visibility.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/api-visibility.ts --require ts-node/register * * To specify test: - * > 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 - * 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/api-visibility.ts --require ts-node/register -g 'test name' */ process.env.NODE_ENV = 'test'; diff --git a/test/api.ts b/test/api.ts index 5dd408c75..68ab2aa17 100644 --- a/test/api.ts +++ b/test/api.ts @@ -2,14 +2,10 @@ * Tests of API * * How to run the tests: - * > npx cross-env TS_NODE_FILES=true npx mocha test/api.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/api.ts --require ts-node/register * * To specify test: - * > 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 - * 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/api.ts --require ts-node/register -g 'test name' */ /* process.env.NODE_ENV = 'test'; diff --git a/test/chart.ts b/test/chart.ts index 9518a44e6..19554010d 100644 --- a/test/chart.ts +++ b/test/chart.ts @@ -2,14 +2,10 @@ * Tests of chart engine * * How to run the tests: - * > npx cross-env TS_NODE_FILES=true npx mocha test/chart.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/chart.ts --require ts-node/register * * To specify test: - * > 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 - * 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/chart.ts --require ts-node/register -g 'test name' */ process.env.NODE_ENV = 'test'; diff --git a/test/mfm.ts b/test/mfm.ts index 727fb01a5..7bead2607 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -2,14 +2,10 @@ * Tests of MFM * * How to run the tests: - * > npx cross-env TS_NODE_FILES=true npx mocha test/mfm.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/mfm.ts --require ts-node/register * * To specify test: - * > 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 - * 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/mfm.ts --require ts-node/register -g 'test name' */ import * as assert from 'assert'; diff --git a/test/mute.ts b/test/mute.ts index b3e8a0320..37b4a2304 100644 --- a/test/mute.ts +++ b/test/mute.ts @@ -2,14 +2,10 @@ * Tests of mute * * How to run the tests: - * > npx cross-env TS_NODE_FILES=true npx mocha test/mute.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/mute.ts --require ts-node/register * * To specify test: - * > 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 - * 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/mute.ts --require ts-node/register -g 'test name' */ process.env.NODE_ENV = 'test'; diff --git a/test/note.ts b/test/note.ts index db34f7914..70ebecff1 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'; diff --git a/test/prelude/maybe.ts b/test/prelude/maybe.ts index d4d727107..d3f17481f 100644 --- a/test/prelude/maybe.ts +++ b/test/prelude/maybe.ts @@ -2,10 +2,10 @@ * Tests of Maybe * * How to run the tests: - * > npx cross-env TS_NODE_FILES=true npx mocha test/prelude/maybe.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/prelude/maybe.ts --require ts-node/register * * To specify test: - * > npx cross-env TS_NODE_FILES=true npx mocha test/prelude/maybe.ts --require ts-node/register -g 'test name' + * > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=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 865acb96b..5837b5be1 100644 --- a/test/reaction-lib.ts +++ b/test/reaction-lib.ts @@ -2,14 +2,10 @@ * Tests of MFM * * How to run the tests: - * > npx cross-env TS_NODE_FILES=true npx mocha test/reaction-lib.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/reaction-lib.ts --require ts-node/register * * To specify test: - * > 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 - * 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/reaction-lib.ts --require ts-node/register -g 'test name' */ /* diff --git a/test/streaming.ts b/test/streaming.ts index 892d16651..214fdeb1f 100644 --- a/test/streaming.ts +++ b/test/streaming.ts @@ -2,14 +2,10 @@ * Tests of streaming API * * How to run the tests: - * > npx cross-env TS_NODE_FILES=true npx mocha test/streaming.ts --require ts-node/register + * > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/streaming.ts --require ts-node/register * * To specify test: - * > 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 - * 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/streaming.ts --require ts-node/register -g 'test name' */ process.env.NODE_ENV = 'test'; diff --git a/test/user-notes.ts b/test/user-notes.ts index b8d28861c..349d5fdb7 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';