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

set -eu

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

MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel 4 --timeout 5000 --exit --require ts-node/register --bail $files

mocha --timeout 5000 --exit --require ts-node/register --bail server/tests/api/notifications/index.ts
mocha --timeout 5000 --exit --require ts-node/register --bail server/tests/api/search/index.ts