Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix mocha commands

Chocobozzz094ff8e69231
diff --git a/server/tests/api/ci-1.sh b/server/tests/api/ci-1.sh
index 8dd9756a59..90ffd568b9 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 fc96f6fb4d..f6bb8a83e7 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 3f887a7bb2..6e36531022 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: