aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-29 14:16:03 +0200
committerChocobozzz <me@florianbigard.com>2019-07-29 14:16:03 +0200
commit094ff8e6923145538aec0cc1a1034e3ebbf88641 (patch)
tree5786250a6fa5822534b7cd6c28728239d9f7c076 /server/tests
parent6f530096cbceda09377c2e8e235cf02c36226989 (diff)
downloadPeerTube-094ff8e6923145538aec0cc1a1034e3ebbf88641.tar.gz
PeerTube-094ff8e6923145538aec0cc1a1034e3ebbf88641.tar.zst
PeerTube-094ff8e6923145538aec0cc1a1034e3ebbf88641.zip
Fix mocha commands
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/ci-1.sh2
-rw-r--r--server/tests/api/ci-3.sh2
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
6notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) 6notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo)
7searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) 7searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo)
8 8
9MOCHA_PARALLEL=true npm run mocha --timeout 30000 --exit --require ts-node/register --bail \ 9MOCHA_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
5videosFiles=$(find server/tests/api/videos -type f | grep -v index.ts | xargs echo) 5videosFiles=$(find server/tests/api/videos -type f | grep -v index.ts | xargs echo)
6 6
7MOCHA_PARALLEL=true npm run mocha --timeout 30000 --exit --require ts-node/register --bail \ 7MOCHA_PARALLEL=true npm run mocha -- --timeout 30000 --exit --require ts-node/register --bail \
8 $videosFiles 8 $videosFiles