summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2019-09-01 04:31:59 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-09-01 04:31:59 +0900
commitd0b0cf8dfbaaf5a42c685e75d23fe7d06093485e (patch)
tree531add5efdc86388bd3587a41d54607ee87196a1 /test
parentShow users who sent reaction on hover (#5362) (diff)
downloadsharkey-d0b0cf8dfbaaf5a42c685e75d23fe7d06093485e.tar.gz
sharkey-d0b0cf8dfbaaf5a42c685e75d23fe7d06093485e.tar.bz2
sharkey-d0b0cf8dfbaaf5a42c685e75d23fe7d06093485e.zip
Use npx
Diffstat (limited to 'test')
-rw-r--r--test/api-visibility.ts4
-rw-r--r--test/api.ts4
-rw-r--r--test/chart.ts4
-rw-r--r--test/mfm.ts4
-rw-r--r--test/mute.ts4
-rw-r--r--test/note.ts4
-rw-r--r--test/prelude/maybe.ts4
-rw-r--r--test/reaction-lib.ts4
-rw-r--r--test/streaming.ts4
-rw-r--r--test/user-notes.ts4
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