diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-18 17:12:24 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-06-18 17:14:02 +0200 |
commit | 07aea1a2642fc9868cb01e30c322514029d5b95a (patch) | |
tree | 926e8ee498539770d82b67846e5fd83d2008c296 /server | |
parent | c24aac6bc73033195c37d81cf2b7449c9b54712c (diff) | |
download | PeerTube-07aea1a2642fc9868cb01e30c322514029d5b95a.tar.gz PeerTube-07aea1a2642fc9868cb01e30c322514029d5b95a.tar.zst PeerTube-07aea1a2642fc9868cb01e30c322514029d5b95a.zip |
Use TS_NODE_FILES instead of --files
Because --files does not work
Diffstat (limited to 'server')
-rw-r--r-- | server/tests/api/ci-4.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/ci-4.sh b/server/tests/api/ci-4.sh index e71b9b154..14a014f07 100644 --- a/server/tests/api/ci-4.sh +++ b/server/tests/api/ci-4.sh | |||
@@ -5,6 +5,6 @@ set -eu | |||
5 | redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo) | 5 | redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo) |
6 | activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo) | 6 | activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo) |
7 | 7 | ||
8 | MOCHA_PARALLEL=true npm run mocha -- --parallel --jobs $1 --timeout 30000 --exit \ | 8 | TS_NODE_FILES=true MOCHA_PARALLEL=true npm run mocha -- --parallel --jobs $1 --timeout 30000 --exit \ |
9 | --require ts-node/register --files --require tsconfig-paths/register --bail \ | 9 | --require ts-node/register --require tsconfig-paths/register --bail \ |
10 | $redundancyFiles $activitypubFiles | 10 | $redundancyFiles $activitypubFiles |