diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-03-07 00:12:23 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2020-03-07 00:12:23 +0900 |
| commit | 65503bc68d919d09b58a5447a96e65535a6c1e4f (patch) | |
| tree | 808127274df70330d1e391c23fcd23ee2bda9452 /test/api.ts | |
| parent | Migrate deprecated mocha configuration (diff) | |
| download | sharkey-65503bc68d919d09b58a5447a96e65535a6c1e4f.tar.gz sharkey-65503bc68d919d09b58a5447a96e65535a6c1e4f.tar.bz2 sharkey-65503bc68d919d09b58a5447a96e65535a6c1e4f.zip | |
Update commands
Diffstat (limited to 'test/api.ts')
| -rw-r--r-- | test/api.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/api.ts b/test/api.ts index 5dd408c755..68ab2aa179 100644 --- a/test/api.ts +++ b/test/api.ts @@ -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'; |