diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-06-27 13:51:18 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-06-27 13:51:18 +0200 |
commit | b975f0e7184f769d9bc857c1e6db90006b45e2c8 (patch) | |
tree | a041f595dd56094160cf3aeb79f55b542a25db44 /tests | |
parent | 4d6019b73fd8b1a1d8e8fecbeb129bea12feb89d (diff) | |
parent | ec4cf96f0d4f170b21d77378e4f11b88b01aaebc (diff) | |
download | nextcloud-server-b975f0e7184f769d9bc857c1e6db90006b45e2c8.tar.gz nextcloud-server-b975f0e7184f769d9bc857c1e6db90006b45e2c8.zip |
Merge pull request #9174 from owncloud/breadcrumbfix
Breadcrumb width calculation fix
Diffstat (limited to 'tests')
-rw-r--r-- | tests/karma.config.js | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/tests/karma.config.js b/tests/karma.config.js index 290790686b0..14a0d7e8464 100644 --- a/tests/karma.config.js +++ b/tests/karma.config.js @@ -110,15 +110,16 @@ module.exports = function(config) { // core mocks files.push(corePath + 'tests/specHelper.js'); + var srcFile, i; // add core library files - for ( var i = 0; i < coreModule.libraries.length; i++ ) { - var srcFile = corePath + coreModule.libraries[i]; + for ( i = 0; i < coreModule.libraries.length; i++ ) { + srcFile = corePath + coreModule.libraries[i]; files.push(srcFile); } // add core modules files - for ( var i = 0; i < coreModule.modules.length; i++ ) { - var srcFile = corePath + coreModule.modules[i]; + for ( i = 0; i < coreModule.modules.length; i++ ) { + srcFile = corePath + coreModule.modules[i]; files.push(srcFile); if (enableCoverage) { preprocessors[srcFile] = 'coverage'; @@ -155,12 +156,15 @@ module.exports = function(config) { } // add source files for apps to test - for ( var i = 0; i < appsToTest.length; i++ ) { + for ( i = 0; i < appsToTest.length; i++ ) { addApp(appsToTest[i]); } // serve images to avoid warnings files.push({pattern: 'core/img/**/*', watched: false, included: false, served: true}); + + // include core CSS + files.push({pattern: 'core/css/*.css', watched: true, included: true, served: true}); config.set({ @@ -180,7 +184,9 @@ module.exports = function(config) { proxies: { // prevent warnings for images - '/context.html//core/img/': 'http://localhost:9876/base/core/img/' + '/context.html//core/img/': 'http://localhost:9876/base/core/img/', + '/context.html//core/css/': 'http://localhost:9876/base/core/css/', + '/context.html//core/fonts/': 'http://localhost:9876/base/core/fonts/' }, // test results reporter to use |