From b8a7ab9941352e48123ba82038081f119beb5147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Thu, 12 May 2022 09:54:32 +0200 Subject: [PATCH] Fix jsunit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- autotest-js.sh | 9 --------- tests/karma.config.js | 6 ------ 2 files changed, 15 deletions(-) diff --git a/autotest-js.sh b/autotest-js.sh index 0b38084fff0..7205cf4c42d 100755 --- a/autotest-js.sh +++ b/autotest-js.sh @@ -10,13 +10,4 @@ set -euo pipefail -# create scss test -# We use the deprecated node-sass module for that as the compilation fails with modern modules. See "DEPRECATION WARNING" during execution of this script. -mkdir -p tests/css -for SCSSFILE in core/css/*.scss -do - FILE=$(basename $SCSSFILE) - printf "\$webroot:''; @import 'functions.scss'; @import 'variables.scss'; @import '${FILE}';" | ./node_modules/.bin/node-sass --include-path core/css/ > tests/css/${FILE}.css -done - npm run test:jsunit \ No newline at end of file diff --git a/tests/karma.config.js b/tests/karma.config.js index b1cd35a52dd..1b36dbfed5c 100644 --- a/tests/karma.config.js +++ b/tests/karma.config.js @@ -201,12 +201,6 @@ module.exports = function(config) { included: true, served: true }); - files.push({ - pattern: 'tests/css/*.css', - watched: true, - included: true, - served: true - }); // Allow fonts files.push({