From d0b0cf8dfbaaf5a42c685e75d23fe7d06093485e Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 1 Sep 2019 04:31:59 +0900 Subject: [PATCH] Use npx --- test/api-visibility.ts | 4 ++-- test/api.ts | 4 ++-- test/chart.ts | 4 ++-- test/mfm.ts | 4 ++-- test/mute.ts | 4 ++-- test/note.ts | 4 ++-- test/prelude/maybe.ts | 4 ++-- test/reaction-lib.ts | 4 ++-- test/streaming.ts | 4 ++-- test/user-notes.ts | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/test/api-visibility.ts b/test/api-visibility.ts index 894d0d0753..1e263bef5b 100644 --- a/test/api-visibility.ts +++ b/test/api-visibility.ts @@ -2,10 +2,10 @@ * Tests of API (visibility) * * How to run the tests: - * > mocha test/api-visibility.ts --require ts-node/register + * > npx mocha test/api-visibility.ts --require ts-node/register * * To specify test: - * > mocha test/api-visibility.ts --require ts-node/register -g 'test name' + * > 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 343112b4aa..5c22cd3c3e 100644 --- a/test/api.ts +++ b/test/api.ts @@ -2,10 +2,10 @@ * Tests of API * * How to run the tests: - * > mocha test/api.ts --require ts-node/register + * > npx mocha test/api.ts --require ts-node/register * * To specify test: - * > mocha test/api.ts --require ts-node/register -g 'test name' + * > 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 b3976b03ba..28f34193fd 100644 --- a/test/chart.ts +++ b/test/chart.ts @@ -2,10 +2,10 @@ * Tests of chart engine * * How to run the tests: - * > mocha test/chart.ts --require ts-node/register + * > npx mocha test/chart.ts --require ts-node/register * * To specify test: - * > mocha test/chart.ts --require ts-node/register -g 'test name' + * > 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 ccef31cd2c..03d9f593af 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -2,10 +2,10 @@ * Tests of MFM * * How to run the tests: - * > mocha test/mfm.ts --require ts-node/register + * > npx mocha test/mfm.ts --require ts-node/register * * To specify test: - * > mocha test/mfm.ts --require ts-node/register -g 'test name' + * > 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 bf24b55ee5..07c77f7623 100644 --- a/test/mute.ts +++ b/test/mute.ts @@ -2,10 +2,10 @@ * Tests of mute * * How to run the tests: - * > mocha test/mute.ts --require ts-node/register + * > npx mocha test/mute.ts --require ts-node/register * * To specify test: - * > mocha test/mute.ts --require ts-node/register -g 'test name' + * > 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 45c016ca76..4a4a777340 100644 --- a/test/note.ts +++ b/test/note.ts @@ -2,10 +2,10 @@ * Tests of Note * * How to run the tests: - * > mocha test/note.ts --require ts-node/register + * > npx mocha test/note.ts --require ts-node/register * * To specify test: - * > mocha test/note.ts --require ts-node/register -g 'test name' + * > 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 470eec220a..0fc7272a9a 100644 --- a/test/prelude/maybe.ts +++ b/test/prelude/maybe.ts @@ -2,10 +2,10 @@ * Tests of Maybe * * How to run the tests: - * > mocha test/prelude/maybe.ts --require ts-node/register + * > npx mocha test/prelude/maybe.ts --require ts-node/register * * To specify test: - * > mocha test/prelude/maybe.ts --require ts-node/register -g 'test name' + * > 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 3a7ff1ab33..e52ec61b35 100644 --- a/test/reaction-lib.ts +++ b/test/reaction-lib.ts @@ -2,10 +2,10 @@ * Tests of MFM * * How to run the tests: - * > mocha test/reaction-lib.ts --require ts-node/register + * > npx mocha test/reaction-lib.ts --require ts-node/register * * To specify test: - * > mocha test/reaction-lib.ts --require ts-node/register -g 'test name' + * > 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 11c63cd0f5..1eb1b7ff47 100644 --- a/test/streaming.ts +++ b/test/streaming.ts @@ -2,10 +2,10 @@ * Tests of streaming API * * How to run the tests: - * > mocha test/streaming.ts --require ts-node/register + * > npx mocha test/streaming.ts --require ts-node/register * * To specify test: - * > mocha test/streaming.ts --require ts-node/register -g 'test name' + * > 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 5e457d6692..63a97cd805 100644 --- a/test/user-notes.ts +++ b/test/user-notes.ts @@ -2,10 +2,10 @@ * Tests of Note * * How to run the tests: - * > mocha test/user-notes.ts --require ts-node/register + * > npx mocha test/user-notes.ts --require ts-node/register * * To specify test: - * > mocha test/user-notes.ts --require ts-node/register -g 'test name' + * > 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