From 094ff8e6923145538aec0cc1a1034e3ebbf88641 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 29 Jul 2019 14:16:03 +0200 Subject: [PATCH] Fix mocha commands --- server/tests/api/ci-1.sh | 2 +- server/tests/api/ci-3.sh | 2 +- support/doc/api/openapi.yaml | 2 +- 3 files changed, 3 insertions(+), 3 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 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 diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 3f887a7bb..6e3653102 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml @@ -734,7 +734,7 @@ paths: $ref: '#/components/schemas/VideoListResponse' /videos/categories: get: - summary: Get list of video licences known by the server + summary: Get list of video categories known by the server tags: - Video responses: -- 2.25.1