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

set -eu

redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo)
activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo)

MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel $1 --timeout 5000 --retries 3 --exit --require ts-node/register --bail \
    $redundancyFiles $activitypubFiles