From dd88e70dffc9f7f4dbd83fdb2f2408af8827eb4c Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 13 Jan 2017 11:49:37 +0100 Subject: [PATCH] fix image warnings Signed-off-by: Christoph Wurst --- tests/karma.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/karma.config.js b/tests/karma.config.js index e96060d364..c499451c7d 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' } ] },