diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-29 14:16:03 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-29 14:16:03 +0200 |
commit | 094ff8e6923145538aec0cc1a1034e3ebbf88641 (patch) | |
tree | 5786250a6fa5822534b7cd6c28728239d9f7c076 /server/tests/api | |
parent | 6f530096cbceda09377c2e8e235cf02c36226989 (diff) | |
download | PeerTube-094ff8e6923145538aec0cc1a1034e3ebbf88641.tar.gz PeerTube-094ff8e6923145538aec0cc1a1034e3ebbf88641.tar.zst PeerTube-094ff8e6923145538aec0cc1a1034e3ebbf88641.zip |
Fix mocha commands
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/ci-1.sh | 2 | ||||
-rw-r--r-- | server/tests/api/ci-3.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/ci-1.sh b/server/tests/api/ci-1.sh index 8dd9756a5..90ffd568b 100644 --- a/server/tests/api/ci-1.sh +++ b/server/tests/api/ci-1.sh | |||
@@ -6,5 +6,5 @@ checkParamFiles=$(find server/tests/api/check-params -type f | grep -v index.ts | |||
6 | notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) | 6 | notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) |
7 | searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) | 7 | searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) |
8 | 8 | ||
9 | MOCHA_PARALLEL=true npm run mocha --timeout 30000 --exit --require ts-node/register --bail \ | 9 | MOCHA_PARALLEL=true npm run mocha -- --timeout 30000 --exit --require ts-node/register --bail \ |
10 | $notificationsFiles $searchFiles $checkParamFiles | 10 | $notificationsFiles $searchFiles $checkParamFiles |
diff --git a/server/tests/api/ci-3.sh b/server/tests/api/ci-3.sh index fc96f6fb4..f6bb8a83e 100644 --- a/server/tests/api/ci-3.sh +++ b/server/tests/api/ci-3.sh | |||
@@ -4,5 +4,5 @@ set -eu | |||
4 | 4 | ||
5 | videosFiles=$(find server/tests/api/videos -type f | grep -v index.ts | xargs echo) | 5 | videosFiles=$(find server/tests/api/videos -type f | grep -v index.ts | xargs echo) |
6 | 6 | ||
7 | MOCHA_PARALLEL=true npm run mocha --timeout 30000 --exit --require ts-node/register --bail \ | 7 | MOCHA_PARALLEL=true npm run mocha -- --timeout 30000 --exit --require ts-node/register --bail \ |
8 | $videosFiles | 8 | $videosFiles |