fix 404 on karma
parent
8e8d2dd57e
commit
f43ac475ce
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue