1
0
Fork 0

Fix CI moderation tests

This commit is contained in:
Chocobozzz 2021-03-09 15:45:37 +01:00
parent 30a94566c9
commit c221d62a8b
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -77,11 +77,11 @@ elif [ "$1" = "api-3" ]; then
elif [ "$1" = "api-4" ]; then
npm run build:server
activitypubFiles=$(findTestFiles server/tests/api/moderation)
moderationFiles=$(findTestFiles server/tests/api/moderation)
redundancyFiles=$(findTestFiles server/tests/api/redundancy)
activitypubFiles=$(findTestFiles server/tests/api/activitypub)
MOCHA_PARALLEL=true TS_NODE_FILES=true runTest "$1" 2 $activitypubFiles $redundancyFiles $activitypubFiles
MOCHA_PARALLEL=true TS_NODE_FILES=true runTest "$1" 2 $moderationFiles $redundancyFiles $activitypubFiles
elif [ "$1" = "external-plugins" ]; then
npm run build:server