aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/travis-3.sh
blob: 97dadafca0e8361d91cb702354800874c9226dba (plain) (blame)
1
2
3
4
5
6
7
8
#!/usr/bin/env sh

set -eu

videosFiles=$(find server/tests/api/videos -type f | grep -v index.ts | xargs echo)

MOCHA_PARALLEL=true mocha --timeout 5000 --retries 3 --exit --require ts-node/register --bail \
    $videosFiles