]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/travis.sh
Fix tests
[github/Chocobozzz/PeerTube.git] / scripts / travis.sh
index 628039ab7170f9cf7ef0dd74ba70fe54a5b1c260..ae4a9f9260e0bbf4e7f11565d8bf2764d9107ceb 100755 (executable)
@@ -31,6 +31,9 @@ elif [ "$1" = "api-2" ]; then
 elif [ "$1" = "api-3" ]; then
     npm run build:server
     mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-3.ts
+elif [ "$1" = "api-3" ]; then
+    npm run build:server
+    mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-4.ts
 elif [ "$1" = "lint" ]; then
     npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts"