From 07aea1a2642fc9868cb01e30c322514029d5b95a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 18 Jun 2020 17:12:24 +0200 Subject: Use TS_NODE_FILES instead of --files Because --files does not work --- server/tests/api/ci-4.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/api') 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 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 npm run mocha -- --parallel --jobs $1 --timeout 30000 --exit \ - --require ts-node/register --files --require tsconfig-paths/register --bail \ +TS_NODE_FILES=true MOCHA_PARALLEL=true npm run mocha -- --parallel --jobs $1 --timeout 30000 --exit \ + --require ts-node/register --require tsconfig-paths/register --bail \ $redundancyFiles $activitypubFiles -- cgit v1.2.3