From: Chocobozzz Date: Mon, 29 Jul 2019 12:16:03 +0000 (+0200) Subject: Fix mocha commands X-Git-Tag: v1.4.0-rc.1~52 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=094ff8e6923145538aec0cc1a1034e3ebbf88641;p=oweals%2Fpeertube.git Fix mocha commands --- 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: