forked from FoundKeyGang/FoundKey
Update commands
This commit is contained in:
parent
ec6aadb5ce
commit
65503bc68d
10 changed files with 20 additions and 56 deletions
|
@ -2,14 +2,10 @@
|
||||||
* Tests of API (visibility)
|
* Tests of API (visibility)
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* To specify test:
|
||||||
* > npx cross-env TS_NODE_FILES=true npx mocha test/api-visibility.ts --require ts-node/register -g 'test name'
|
* > 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'
|
||||||
*
|
|
||||||
* 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
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
process.env.NODE_ENV = 'test';
|
process.env.NODE_ENV = 'test';
|
||||||
|
|
|
@ -2,14 +2,10 @@
|
||||||
* Tests of API
|
* Tests of API
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* To specify test:
|
||||||
* > npx cross-env TS_NODE_FILES=true npx mocha test/api.ts --require ts-node/register -g 'test name'
|
* > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=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
|
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
process.env.NODE_ENV = 'test';
|
process.env.NODE_ENV = 'test';
|
||||||
|
|
|
@ -2,14 +2,10 @@
|
||||||
* Tests of chart engine
|
* Tests of chart engine
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* To specify test:
|
||||||
* > npx cross-env TS_NODE_FILES=true npx mocha test/chart.ts --require ts-node/register -g 'test name'
|
* > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=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
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
process.env.NODE_ENV = 'test';
|
process.env.NODE_ENV = 'test';
|
||||||
|
|
|
@ -2,14 +2,10 @@
|
||||||
* Tests of MFM
|
* Tests of MFM
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* To specify test:
|
||||||
* > npx cross-env TS_NODE_FILES=true npx mocha test/mfm.ts --require ts-node/register -g 'test name'
|
* > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=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
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as assert from 'assert';
|
import * as assert from 'assert';
|
||||||
|
|
|
@ -2,14 +2,10 @@
|
||||||
* Tests of mute
|
* Tests of mute
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* To specify test:
|
||||||
* > npx cross-env TS_NODE_FILES=true npx mocha test/mute.ts --require ts-node/register -g 'test name'
|
* > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=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
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
process.env.NODE_ENV = 'test';
|
process.env.NODE_ENV = 'test';
|
||||||
|
|
|
@ -2,14 +2,10 @@
|
||||||
* Tests of Note
|
* Tests of Note
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* To specify test:
|
||||||
* > npx cross-env TS_NODE_FILES=true npx mocha test/note.ts --require ts-node/register -g 'test name'
|
* > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=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
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
process.env.NODE_ENV = 'test';
|
process.env.NODE_ENV = 'test';
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
* Tests of Maybe
|
* Tests of Maybe
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* 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';
|
import * as assert from 'assert';
|
||||||
|
|
|
@ -2,14 +2,10 @@
|
||||||
* Tests of MFM
|
* Tests of MFM
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* To specify test:
|
||||||
* > npx cross-env TS_NODE_FILES=true npx mocha test/reaction-lib.ts --require ts-node/register -g 'test name'
|
* > 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'
|
||||||
*
|
|
||||||
* 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
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -2,14 +2,10 @@
|
||||||
* Tests of streaming API
|
* Tests of streaming API
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* To specify test:
|
||||||
* > npx cross-env TS_NODE_FILES=true npx mocha test/streaming.ts --require ts-node/register -g 'test name'
|
* > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=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
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
process.env.NODE_ENV = 'test';
|
process.env.NODE_ENV = 'test';
|
||||||
|
|
|
@ -2,14 +2,10 @@
|
||||||
* Tests of Note
|
* Tests of Note
|
||||||
*
|
*
|
||||||
* How to run the tests:
|
* 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:
|
* To specify test:
|
||||||
* > npx cross-env TS_NODE_FILES=true npx mocha test/user-notes.ts --require ts-node/register -g 'test name'
|
* > 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'
|
||||||
*
|
|
||||||
* 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
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
process.env.NODE_ENV = 'test';
|
process.env.NODE_ENV = 'test';
|
||||||
|
|
Loading…
Reference in a new issue