Skip to content

Commit

Permalink
Fix npm run test
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Nov 10, 2020
1 parent 0223291 commit 93ab838
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ $ npm test
If you just want to run 1 test (which is what you want to debug a specific test rapidly):

```
$ npm run mocha -- --exit -r ts-node/register -r tsconfig-paths/register --bail server/tests/api/index.ts
$ TS_NODE_FILES=true npm run mocha -- --exit -r ts-node/register -r tsconfig-paths/register --bail server/tests/api/videos/single-server.ts
```

Instance configurations are in `config/test-{1,2,3,4,5,6}.yaml`.
Expand Down
8 changes: 7 additions & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@ npm run setup:cli

npm run ci -- lint

mocha --exit --require ts-node/register/type-check --require tsconfig-paths/register --bail server/tests/index.ts
npm run ci -- misc
npm run ci -- cli
npm run ci -- api-1
npm run ci -- api-2
npm run ci -- api-3
npm run ci -- api-4
npm run ci -- external-plugins

0 comments on commit 93ab838

Please sign in to comment.