aboutsummaryrefslogtreecommitdiffstats
path: root/tests/karma.config.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-01-13 11:49:37 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-01-13 11:49:37 +0100
commitdd88e70dffc9f7f4dbd83fdb2f2408af8827eb4c (patch)
tree87e95fd4b8b5d81a701af43c837bba43117cc75f /tests/karma.config.js
parentc82befbc0032844e40ea9801ffd674ae3965d2f8 (diff)
downloadnextcloud-server-dd88e70dffc9f7f4dbd83fdb2f2408af8827eb4c.tar.gz
nextcloud-server-dd88e70dffc9f7f4dbd83fdb2f2408af8827eb4c.zip
fix image warnings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/karma.config.js')
-rw-r--r--tests/karma.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/karma.config.js b/tests/karma.config.js
index e96060d3641..c499451c7dc 100644
--- a/tests/karma.config.js
+++ b/tests/karma.config.js
@@ -220,6 +220,7 @@ module.exports = function(config) {
// serve images to avoid warnings
files.push({pattern: 'core/img/**/*', watched: false, included: false, served: true});
+ files.push({pattern: 'core/css/images/*', watched: false, included: false, served: true});
// include core CSS
files.push({pattern: 'core/css/*.css', watched: true, included: true, served: true});
@@ -248,6 +249,7 @@ module.exports = function(config) {
// prevent warnings for images
'/base/tests/img/': 'http://localhost:9876/base/core/img/',
'/base/tests/css/': 'http://localhost:9876/base/core/css/',
+ '/base/core/css/images/': 'http://localhost:9876/base/core/css/images/',
'/actions/': 'http://localhost:9876/base/core/img/actions/',
'/base/core/fonts/': 'http://localhost:9876/base/core/fonts/'
},
@@ -270,7 +272,7 @@ module.exports = function(config) {
reporters: [
{ type: 'html' },
{ type: 'cobertura' },
- { type: 'lcovonly' },
+ { type: 'lcovonly' }
]
},