summaryrefslogtreecommitdiff
path: root/test/api.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-03-06 23:58:27 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2020-03-06 23:58:27 +0900
commit5f642886d9339b999c87f846357515f9bd065e13 (patch)
treead07a33bdbf99b0113b1f30506483d4727345e8e /test/api.ts
parentnote_reaction.reaction は 130文字に (#6105) (diff)
downloadsharkey-5f642886d9339b999c87f846357515f9bd065e13.tar.gz
sharkey-5f642886d9339b999c87f846357515f9bd065e13.tar.bz2
sharkey-5f642886d9339b999c87f846357515f9bd065e13.zip
chore: Update commands
Diffstat (limited to 'test/api.ts')
-rw-r--r--test/api.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/api.ts b/test/api.ts
index 5c22cd3c3e..5dd408c755 100644
--- a/test/api.ts
+++ b/test/api.ts
@@ -2,10 +2,10 @@
* Tests of API
*
* How to run the tests:
- * > npx mocha test/api.ts --require ts-node/register
+ * > npx cross-env TS_NODE_FILES=true npx mocha test/api.ts --require ts-node/register
*
* To specify test:
- * > npx mocha test/api.ts --require ts-node/register -g 'test name'
+ * > 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