mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-24 15:16:30 +09:00
Use npx
This commit is contained in:
parent
749200d22b
commit
d0b0cf8dfb
@ -2,10 +2,10 @@
|
|||||||
* Tests of API (visibility)
|
* Tests of API (visibility)
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* 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:
|
* If the tests not start, try set following enviroment variables:
|
||||||
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
* Tests of API
|
* Tests of API
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* 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:
|
* If the tests not start, try set following enviroment variables:
|
||||||
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
* Tests of chart engine
|
* Tests of chart engine
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* 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:
|
* If the tests not start, try set following enviroment variables:
|
||||||
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
* Tests of MFM
|
* Tests of MFM
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* 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:
|
* If the tests not start, try set following enviroment variables:
|
||||||
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
* Tests of mute
|
* Tests of mute
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* 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:
|
* If the tests not start, try set following enviroment variables:
|
||||||
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
* Tests of Note
|
* Tests of Note
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* 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:
|
* If the tests not start, try set following enviroment variables:
|
||||||
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
* Tests of Maybe
|
* Tests of Maybe
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* 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';
|
import * as assert from 'assert';
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
* Tests of MFM
|
* Tests of MFM
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* 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:
|
* If the tests not start, try set following enviroment variables:
|
||||||
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
* Tests of streaming API
|
* Tests of streaming API
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* 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:
|
* If the tests not start, try set following enviroment variables:
|
||||||
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
* Tests of Note
|
* Tests of Note
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* 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:
|
* If the tests not start, try set following enviroment variables:
|
||||||
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
* TS_NODE_FILES=true and TS_NODE_TRANSPILE_ONLY=true
|
||||||
|
Loading…
Reference in New Issue
Block a user