Skip to content

Commit

Permalink
chore(karma): remove mocha reporter in favor of dots
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Mar 21, 2018
1 parent 3a5e51d commit 2a5f483
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ task copyFavicon(type: Copy) {

task karma(type: NodeTask) {
script = file('node_modules/karma/bin/karma')
args = ["start", "--single-run", "--reporters", "progress,mocha"]
args = ["start", "--single-run", "--reporters", "dots"]
if (project.hasProperty('skipTests')) {
karma.enabled = false
}
Expand Down
6 changes: 1 addition & 5 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,13 @@ module.exports = function (config) {
logLevel: config.DEBUG,

// jUnit Report output
reporters: ['dots'],
reporters: ['junit', 'dots'],

// the default configuration
junitReporter: {
outputFile: 'test-results.xml'
},

mochaReporter: {
ignoreSkipped: true,
},

client: {
captureConsole: true,
},
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@
"karma-chrome-launcher": "=2.2.0",
"karma-jasmine": "=1.1.1",
"karma-junit-reporter": "^1.1.0",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "=0.3.7",
"karma-webpack": "=2.0.13",
"less": "^2.7.2",
Expand Down
8 changes: 0 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6583,14 +6583,6 @@ karma-junit-reporter@^1.1.0:
path-is-absolute "^1.0.0"
xmlbuilder "8.2.2"

karma-mocha-reporter@^2.2.5:
version "2.2.5"
resolved "https://registry.yarnpkg.com/karma-mocha-reporter/-/karma-mocha-reporter-2.2.5.tgz#15120095e8ed819186e47a0b012f3cd741895560"
dependencies:
chalk "^2.1.0"
log-symbols "^2.1.0"
strip-ansi "^4.0.0"

karma-sourcemap-loader@=0.3.7:
version "0.3.7"
resolved "https://registry.yarnpkg.com/karma-sourcemap-loader/-/karma-sourcemap-loader-0.3.7.tgz#91322c77f8f13d46fed062b042e1009d4c4505d8"
Expand Down

0 comments on commit 2a5f483

Please sign in to comment.