Update package.json deps to include PhantomJS / karma launcher, update output location, freeze deps

This commit is contained in:
Leigh Johnson 2016-09-21 16:18:10 -04:00
parent 5b6f610970
commit e9570c9d52
3 changed files with 372 additions and 252 deletions

View File

@ -9,13 +9,13 @@ module.exports = function(config) {
browsers: ['Chrome', 'Firefox'],
coverageReporter: {
reporters: [
{ type: 'html', subdir: 'html' }
{ type: 'html', subdir: 'html' },
]
},
frameworks: [
'jasmine',
],
reporters: ['progress', 'coverage'],
reporters: ['progress', 'coverage', 'junit'],
files: [
'./client/src/app.js',
'./node_modules/angular-mocks/angular-mocks.js',
@ -86,7 +86,9 @@ module.exports = function(config) {
}
},
junitReporter: {
outputFile: 'coverage/test-results.xml'
outputDir: 'coverage',
outputFile: 'ui-unit-test-results.xml',
useBrowserName: false
}
});
};

File diff suppressed because it is too large Load Diff

View File

@ -56,12 +56,15 @@
"karma-firefox-launcher": "^1.0.0",
"karma-html2js-preprocessor": "^1.0.0",
"karma-jasmine": "^1.0.2",
"karma-junit-reporter": "^1.1.0",
"karma-phantomjs-launcher": "^1.0.2",
"karma-sauce-launcher": "^1.0.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.8.0",
"less-plugin-autoprefix": "^1.4.2",
"load-grunt-configs": "^1.0.0",
"load-grunt-tasks": "^3.5.0",
"phantomjs-prebuilt": "^2.1.12",
"time-grunt": "^1.4.0",
"webpack": "^1.13.1",
"webpack-dev-server": "^1.14.1"