diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-01-13 11:46:06 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-01-13 11:46:06 +0100 |
commit | c82befbc0032844e40ea9801ffd674ae3965d2f8 (patch) | |
tree | 7c35908c09b0086c2d7103dad31bebadc17a3b96 /tests/karma.config.js | |
parent | da28a1612ec83e3ced1e1b4d8fad9326d6a539b0 (diff) | |
download | nextcloud-server-c82befbc0032844e40ea9801ffd674ae3965d2f8.tar.gz nextcloud-server-c82befbc0032844e40ea9801ffd674ae3965d2f8.zip |
allow/fix loading of fonts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/karma.config.js')
-rw-r--r-- | tests/karma.config.js | 5 |
1 files changed, 4 insertions, 1 deletions
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 |