Update commands

This commit is contained in:
syuilo 2020-03-07 00:12:23 +09:00
parent ec6aadb5ce
commit 65503bc68d
10 changed files with 20 additions and 56 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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
*/ */
/* /*

View File

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

View File

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