From c82befbc0032844e40ea9801ffd674ae3965d2f8 Mon Sep 17 00:00:00 2001
From: Christoph Wurst <christoph@winzerhof-wurst.at>
Date: Fri, 13 Jan 2017 11:46:06 +0100
Subject: [PATCH] allow/fix loading of fonts

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
---
 tests/karma.config.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/karma.config.js b/tests/karma.config.js
index afb1fa81463..e96060d3641 100644
--- a/tests/karma.config.js
+++ b/tests/karma.config.js
@@ -225,6 +225,9 @@ module.exports = function(config) {
 	files.push({pattern: 'core/css/*.css', watched: true, included: true, served: true});
 	files.push({pattern: 'tests/css/*.css', watched: true, included: true, served: true});
 
+	// Allow fonts
+	files.push({pattern: 'core/fonts/*', watched: false, included: false, served: true});
+
 	config.set({
 
 		// base path, that will be used to resolve files and exclude
@@ -246,7 +249,7 @@ module.exports = function(config) {
 			'/base/tests/img/': 'http://localhost:9876/base/core/img/',
 			'/base/tests/css/': 'http://localhost:9876/base/core/css/',
 			'/actions/': 'http://localhost:9876/base/core/img/actions/',
-			'/context.html//core/fonts/': 'http://localhost:9876/base/core/fonts/'
+			'/base/core/fonts/': 'http://localhost:9876/base/core/fonts/'
 		},
 
 		// test results reporter to use
-- 
GitLab