aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/tests/api/travis-4.sh
blob: 24bf5b71c8ad9b6118727f241e312d4428272fe6 (plain) (tree)
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 3 --timeout 5000 --exit --require ts-node/register --bail \
    $redundancyFiles $activitypubFiles