Skip to content

Commit b8a7ab9

Browse files
committed
Fix jsunit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 parent 29a8b29 commit b8a7ab9

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

autotest-js.sh

-9
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,4 @@
1010

1111
set -euo pipefail
1212

13-
# create scss test
14-
# We use the deprecated node-sass module for that as the compilation fails with modern modules. See "DEPRECATION WARNING" during execution of this script.
15-
mkdir -p tests/css
16-
for SCSSFILE in core/css/*.scss
17-
do
18-
FILE=$(basename $SCSSFILE)
19-
printf "\$webroot:''; @import 'functions.scss'; @import 'variables.scss'; @import '${FILE}';" | ./node_modules/.bin/node-sass --include-path core/css/ > tests/css/${FILE}.css
20-
done
21-
2213
npm run test:jsunit

tests/karma.config.js

-6
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,6 @@ module.exports = function(config) {
201201
included: true,
202202
served: true
203203
});
204-
files.push({
205-
pattern: 'tests/css/*.css',
206-
watched: true,
207-
included: true,
208-
served: true
209-
});
210204

211205
// Allow fonts
212206
files.push({

0 commit comments

Comments
 (0)