mirror of https://github.com/nextcloud/server
Fix jsunit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
parent
29a8b2958d
commit
b8a7ab9941
|
@ -10,13 +10,4 @@
|
||||||
|
|
||||||
set -euo pipefail
|
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
|
npm run test:jsunit
|
|
@ -201,12 +201,6 @@ module.exports = function(config) {
|
||||||
included: true,
|
included: true,
|
||||||
served: true
|
served: true
|
||||||
});
|
});
|
||||||
files.push({
|
|
||||||
pattern: 'tests/css/*.css',
|
|
||||||
watched: true,
|
|
||||||
included: true,
|
|
||||||
served: true
|
|
||||||
});
|
|
||||||
|
|
||||||
// Allow fonts
|
// Allow fonts
|
||||||
files.push({
|
files.push({
|
||||||
|
|
Loading…
Reference in New Issue