Update commands

This commit is contained in:
syuilo 2020-03-07 00:12:23 +09:00
parent 42e6bf4501
commit 90c1beca12
10 changed files with 20 additions and 56 deletions

View file

@ -2,14 +2,10 @@
* Tests of API (visibility)
*
* 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:
* > npx cross-env TS_NODE_FILES=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
* > 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'
*/
process.env.NODE_ENV = 'test';

View file

@ -2,14 +2,10 @@
* Tests of API
*
* 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:
* > 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
* 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/api.ts --require ts-node/register -g 'test name'
*/
/*
process.env.NODE_ENV = 'test';

View file

@ -2,14 +2,10 @@
* Tests of chart engine
*
* 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:
* > npx cross-env TS_NODE_FILES=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
* > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/chart.ts --require ts-node/register -g 'test name'
*/
process.env.NODE_ENV = 'test';

View file

@ -2,14 +2,10 @@
* Tests of MFM
*
* 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:
* > npx cross-env TS_NODE_FILES=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
* > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/mfm.ts --require ts-node/register -g 'test name'
*/
import * as assert from 'assert';

View file

@ -2,14 +2,10 @@
* Tests of mute
*
* 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:
* > npx cross-env TS_NODE_FILES=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
* > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/mute.ts --require ts-node/register -g 'test name'
*/
process.env.NODE_ENV = 'test';

View file

@ -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';

View file

@ -2,10 +2,10 @@
* Tests of Maybe
*
* 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:
* > 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';

View file

@ -2,14 +2,10 @@
* Tests of MFM
*
* 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:
* > npx cross-env TS_NODE_FILES=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
* > 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'
*/
/*

View file

@ -2,14 +2,10 @@
* Tests of streaming API
*
* 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:
* > npx cross-env TS_NODE_FILES=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
* > npx cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true npx mocha test/streaming.ts --require ts-node/register -g 'test name'
*/
process.env.NODE_ENV = 'test';

View file

@ -2,14 +2,10 @@
* Tests of Note
*
* 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:
* > npx cross-env TS_NODE_FILES=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
* > 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'
*/
process.env.NODE_ENV = 'test';