blob: 52c839d121a5a54d7e4362a5c4acb1f4b6980a14 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env sh
set -eu
serverFiles=$(find server/tests/api/server -type f | grep -v index.ts | xargs echo)
usersFiles=$(find server/tests/api/users -type f | grep -v index.ts | xargs echo)
MOCHA_PARALLEL=true npm run mocha-parallel-tests -- --max-parallel $1 --timeout 30000 --exit \
--require ts-node/register --require tsconfig-paths/register --bail \
$serverFiles $usersFiles
|