diff --git a/karma.conf.js b/karma.conf.js index 2de2abfe..ac545dfe 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,6 +1,10 @@ // Karma configuration // Generated on Wed Apr 15 2015 09:44:14 GMT+0200 (CEST) +// this is needed by theme.service.spec +var fs = require('fs'); +fs.writeFileSync('dist/styles/empty.css', ''); + module.exports = function(config) { var configuration = { @@ -86,6 +90,13 @@ module.exports = function(config) { } }, + proxies: { + '/images/': 'http://localhost:9001/images/', + '/base/dist/js/maps/': 'http://localhost:9001/js/maps/', + '/base/dist/js/maps/': 'http://localhost:9001/js/maps/', + '/styles/theme-testTheme.css': 'http://localhost:9001/styles/empty.css' + }, + // Continuous Integration mode // if true, Karma captures browsers, runs the tests and exits singleRun: false