aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci.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 /scripts/ci.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 'scripts/ci.sh')
-rwxr-xr-xscripts/ci.sh3
1 files changed, 2 insertions, 1 deletions
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
13 13
14if [ "$1" = "misc" ]; then 14if [ "$1" = "misc" ]; then
15 npm run build -- --light 15 npm run build -- --light
16 mocha --timeout 5000 --exit --require ts-node/register --files --require tsconfig-paths/register --bail server/tests/client.ts \ 16 TS_NODE_FILES=true mocha --timeout 5000 --exit --require ts-node/register --require tsconfig-paths/register --bail \
17 server/tests/client.ts \
17 server/tests/feeds/index.ts \ 18 server/tests/feeds/index.ts \
18 server/tests/misc-endpoints.ts \ 19 server/tests/misc-endpoints.ts \
19 server/tests/helpers/index.ts \ 20 server/tests/helpers/index.ts \