aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-12 09:54:32 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-13 16:13:01 +0200
commitb8a7ab9941352e48123ba82038081f119beb5147 (patch)
tree7f9a062824d1e71ad682d148180e630f68aff805
parent29a8b2958d780b12a2a9f99452a6cfc61d627c87 (diff)
downloadnextcloud-server-b8a7ab9941352e48123ba82038081f119beb5147.tar.gz
nextcloud-server-b8a7ab9941352e48123ba82038081f119beb5147.zip
Fix jsunit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
-rwxr-xr-xautotest-js.sh9
-rw-r--r--tests/karma.config.js6
2 files changed, 0 insertions, 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({