summaryrefslogtreecommitdiff
path: root/test/note.ts
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 /test/note.ts
parentMigrate deprecated mocha configuration (diff)
downloadsharkey-65503bc68d919d09b58a5447a96e65535a6c1e4f.tar.gz
sharkey-65503bc68d919d09b58a5447a96e65535a6c1e4f.tar.bz2
sharkey-65503bc68d919d09b58a5447a96e65535a6c1e4f.zip
Update commands
Diffstat (limited to 'test/note.ts')
-rw-r--r--test/note.ts8
1 files changed, 2 insertions, 6 deletions
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';