aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/ci-4.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-06-18 17:12:24 +0200
committerChocobozzz <me@florianbigard.com>2020-06-18 17:14:02 +0200
commit07aea1a2642fc9868cb01e30c322514029d5b95a (patch)
tree926e8ee498539770d82b67846e5fd83d2008c296 /server/tests/api/ci-4.sh
parentc24aac6bc73033195c37d81cf2b7449c9b54712c (diff)
downloadPeerTube-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/tests/api/ci-4.sh')
-rw-r--r--server/tests/api/ci-4.sh4
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
5redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo) 5redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo)
6activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo) 6activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo)
7 7
8MOCHA_PARALLEL=true npm run mocha -- --parallel --jobs $1 --timeout 30000 --exit \ 8TS_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