From 094ff8e6923145538aec0cc1a1034e3ebbf88641 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 29 Jul 2019 14:16:03 +0200 Subject: Fix mocha commands --- server/tests/api/ci-1.sh | 2 +- server/tests/api/ci-3.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests') 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 notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) -MOCHA_PARALLEL=true npm run mocha --timeout 30000 --exit --require ts-node/register --bail \ +MOCHA_PARALLEL=true npm run mocha -- --timeout 30000 --exit --require ts-node/register --bail \ $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 videosFiles=$(find server/tests/api/videos -type f | grep -v index.ts | xargs echo) -MOCHA_PARALLEL=true npm run mocha --timeout 30000 --exit --require ts-node/register --bail \ +MOCHA_PARALLEL=true npm run mocha -- --timeout 30000 --exit --require ts-node/register --bail \ $videosFiles -- cgit v1.2.3