From 2b9f672b58bc2c13c96ee79f522003979e4bfc02 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 21 Jul 2021 15:44:28 +0200 Subject: Improve plugin constant tests --- scripts/ci.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/ci.sh b/scripts/ci.sh index 07e37e0ee..7862888b8 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -47,11 +47,12 @@ if [ "$1" = "client" ]; then feedsFiles=$(findTestFiles ./dist/server/tests/feeds) helperFiles=$(findTestFiles ./dist/server/tests/helpers) + libFiles=$(findTestFiles ./dist/server/tests/lib) miscFiles="./dist/server/tests/client.js ./dist/server/tests/misc-endpoints.js" # Not in plugin task, it needs an index.html pluginFiles="./dist/server/tests/plugins/html-injection.js" - MOCHA_PARALLEL=true runTest "$1" 2 $feedsFiles $helperFiles $miscFiles $pluginFiles + MOCHA_PARALLEL=true runTest "$1" 2 $feedsFiles $helperFiles $miscFiles $pluginFiles $libFiles elif [ "$1" = "cli-plugin" ]; then npm run build:server npm run setup:cli -- cgit v1.2.3