mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Update commands
This commit is contained in:
parent
42e6bf4501
commit
90c1beca12
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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'
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -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';
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user