Enable pretty html output of our karma test results. While running yarn test:karma, visit localhost:9876/debug.html to see test output.

This commit is contained in:
Sarah McAlear 2017-07-07 15:54:42 +01:00 committed by Dave Page
parent fc78202600
commit 8646e9e404
3 changed files with 7 additions and 6 deletions

View File

@ -5,6 +5,7 @@ const webpackConfig = require('./webpack.test.config.js');
module.exports = function (config) {
config.set({
frameworks: ['jasmine'],
reporters: ['progress', 'kjhtml'],
plugins: [
'karma-webpack',
'karma-phantomjs-launcher',

View File

@ -16,7 +16,7 @@
"karma-babel-preprocessor": "^6.0.1",
"karma-browserify": "~5.1.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "~0.2.2",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-phantomjs-launcher": "~1.0.2",
"karma-requirejs": "~1.1.0",
"karma-sourcemap-loader": "~0.3.7",

View File

@ -1439,16 +1439,16 @@ crypto-browserify@^3.0.0, crypto-browserify@^3.11.0:
public-encrypt "^4.0.0"
randombytes "^2.0.0"
css-color-names@0.0.4:
version "0.0.4"
resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0"
css-in-js-utils@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/css-in-js-utils/-/css-in-js-utils-1.0.3.tgz#9ac7e02f763cf85d94017666565ed68a5b5f3215"
dependencies:
hyphenate-style-name "^1.0.2"
css-color-names@0.0.4:
version "0.0.4"
resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0"
css-loader@^0.28.4:
version "0.28.4"
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.28.4.tgz#6cf3579192ce355e8b38d5f42dd7a1f2ec898d0f"
@ -3061,7 +3061,7 @@ karma-browserify@~5.1.1:
minimatch "^3.0.0"
os-shim "^0.1.3"
karma-jasmine-html-reporter@~0.2.2:
karma-jasmine-html-reporter@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-0.2.2.tgz#48a8e5ef18807617ee2b5e33c1194c35b439524c"
dependencies: