]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix jsunit
authorJohn Molakvoæ <skjnldsv@protonmail.com>
Thu, 12 May 2022 07:54:32 +0000 (09:54 +0200)
committerJohn Molakvoæ <skjnldsv@protonmail.com>
Fri, 13 May 2022 14:13:01 +0000 (16:13 +0200)
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
autotest-js.sh
tests/karma.config.js

index 0b38084fff002c3816134f3bd179e7f17ae9063e..7205cf4c42d340ab331702a5cf91430e025b23ab 100755 (executable)
 
 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
index b1cd35a52dda3c7be009dc3a04c82982d203eec3..1b36dbfed5cdf83d8ef63ee698f82d7bf80f2e87 100644 (file)
@@ -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({