summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-03-07 00:12:23 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2020-03-07 00:12:23 +0900
commit65503bc68d919d09b58a5447a96e65535a6c1e4f (patch)
tree808127274df70330d1e391c23fcd23ee2bda9452
parentMigrate deprecated mocha configuration (diff)
downloadsharkey-65503bc68d919d09b58a5447a96e65535a6c1e4f.tar.gz
sharkey-65503bc68d919d09b58a5447a96e65535a6c1e4f.tar.bz2
sharkey-65503bc68d919d09b58a5447a96e65535a6c1e4f.zip
Update commands
-rw-r--r--test/api-visibility.ts8
-rw-r--r--test/api.ts8
-rw-r--r--test/chart.ts8
-rw-r--r--test/mfm.ts8
-rw-r--r--test/mute.ts8
-rw-r--r--test/note.ts8
-rw-r--r--test/prelude/maybe.ts4
-rw-r--r--test/reaction-lib.ts8
-rw-r--r--test/streaming.ts8
-rw-r--r--test/user-notes.ts8
10 files changed, 20 insertions, 56 deletions
diff --git a/test/api-visibility.ts b/test/api-visibility.ts
index ce50008948..5fbea02df6 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 5dd408c755..68ab2aa179 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 9518a44e62..19554010de 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 727fb01a5f..7bead26074 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 b3e8a0320d..37b4a23048 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 db34f79141..70ebecff1c 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 d4d7271079..d3f17481f8 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 865acb96b4..5837b5be1f 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 892d16651b..214fdeb1f2 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 b8d28861cb..349d5fdb7c 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';