mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 11:25:13 +00:00
Use npx
This commit is contained in:
parent
749200d22b
commit
d0b0cf8dfb
10 changed files with 20 additions and 20 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue