fix 404 on karma

stable
Juanfran 2015-07-08 11:30:35 +02:00
parent 8e8d2dd57e
commit f43ac475ce
1 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,10 @@
// Karma configuration // Karma configuration
// Generated on Wed Apr 15 2015 09:44:14 GMT+0200 (CEST) // 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) { module.exports = function(config) {
var configuration = { 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 // Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits // if true, Karma captures browsers, runs the tests and exits
singleRun: false singleRun: false