mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-24 09:40:28 -06:00
Fix npm run test
This commit is contained in:
parent
0223291c45
commit
93ab83893d
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
@ -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`.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user