removed PhantomJS in favor of ChromeHeadless and upgraded Karma, removed Karma tests from Dockerfile

This commit is contained in:
alecmerdler 2017-06-09 11:49:11 -07:00
parent d1a7a54038
commit e1210cd6df
9 changed files with 266 additions and 496 deletions

View file

@ -38,7 +38,6 @@ module.exports = function(config) {
],
exclude: [],
preprocessors: {
'static/lib/ngReact/react.ngReact.min.js': ['webpack'],
'static/lib/angular-moment.min.js': ['webpack'],
'node_modules/core-js/index.js': ['webpack'],
'static/test/test-index.ts': ['webpack'],
@ -59,8 +58,11 @@ module.exports = function(config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['PhantomJS', 'Chrome'],
browsers: ['ChromeHeadless'],
singleRun: false,
concurrency: Infinity
concurrency: Infinity,
mime: {
'text/x-typescript': ['ts','tsx']
}
});
};