Run misc tests in parallel

This commit is contained in:
Chocobozzz 2021-05-07 14:40:54 +02:00 committed by Chocobozzz
parent 1ff9f1cda3
commit d15aebf511

View File

@ -44,7 +44,7 @@ if [ "$1" = "misc" ]; then
pluginsFiles=$(findTestFiles server/tests/plugins)
miscFiles="server/tests/client.ts server/tests/misc-endpoints.ts"
TS_NODE_FILES=true runTest "$1" 1 $feedsFiles $helperFiles $pluginsFiles $miscFiles
MOCHA_PARALLEL=true TS_NODE_FILES=true runTest "$1" 2 $feedsFiles $helperFiles $pluginsFiles $miscFiles
elif [ "$1" = "cli" ]; then
npm run build:server
npm run setup:cli