diff options
author | Chocobozzz <me@florianbigard.com> | 2019-10-21 16:24:06 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-10-21 16:24:06 +0200 |
commit | 4c8ef0ec684f5dd1856ec751420b1e85369fd1bf (patch) | |
tree | bb0bb0e557053b3d889090d928bdda2b34c0b1f2 /server/tests/api/ci-1.sh | |
parent | e199856bb79868ba4c027cf4a26ff2bd909b3fd4 (diff) | |
download | PeerTube-4c8ef0ec684f5dd1856ec751420b1e85369fd1bf.tar.gz PeerTube-4c8ef0ec684f5dd1856ec751420b1e85369fd1bf.tar.zst PeerTube-4c8ef0ec684f5dd1856ec751420b1e85369fd1bf.zip |
Add tsconfig-paths registration to mocha
Diffstat (limited to 'server/tests/api/ci-1.sh')
-rw-r--r-- | server/tests/api/ci-1.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/ci-1.sh b/server/tests/api/ci-1.sh index 90ffd568b..faa440785 100644 --- a/server/tests/api/ci-1.sh +++ b/server/tests/api/ci-1.sh | |||
@@ -6,5 +6,5 @@ checkParamFiles=$(find server/tests/api/check-params -type f | grep -v index.ts | |||
6 | notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) | 6 | notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) |
7 | searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) | 7 | searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) |
8 | 8 | ||
9 | MOCHA_PARALLEL=true npm run mocha -- --timeout 30000 --exit --require ts-node/register --bail \ | 9 | MOCHA_PARALLEL=true npm run mocha -- --timeout 30000 --exit --require ts-node/register --require tsconfig-paths/register --bail \ |
10 | $notificationsFiles $searchFiles $checkParamFiles | 10 | $notificationsFiles $searchFiles $checkParamFiles |