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 --- scripts/ci.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/ci.sh') diff --git a/scripts/ci.sh b/scripts/ci.sh index f75e457fd..f5bd0bdc9 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -13,7 +13,8 @@ perl -0777 -i -pe 's#proxy:(\n\s+)enabled: false\n\s+url: ""#proxy:$1enabled: t if [ "$1" = "misc" ]; then npm run build -- --light - mocha --timeout 5000 --exit --require ts-node/register --files --require tsconfig-paths/register --bail server/tests/client.ts \ + TS_NODE_FILES=true mocha --timeout 5000 --exit --require ts-node/register --require tsconfig-paths/register --bail \ + server/tests/client.ts \ server/tests/feeds/index.ts \ server/tests/misc-endpoints.ts \ server/tests/helpers/index.ts \ -- cgit v1.2.3