Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #534 from trishamoyer/develop
Browse files Browse the repository at this point in the history
chore: allow npm tests to use multi mocha reporters
  • Loading branch information
Christian Compton authored May 10, 2018
2 parents 2f013f0 + dd8933c commit c0d1dbd
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
6 changes: 6 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"reporterEnabled":"list, xunit-file",
"xunitReporterOptions":{
"output":"xunit.xml"
}
}
22 changes: 16 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"testint": "standard --env mocha && mocha 'test/integration/**/*.js'",
"testintfast": "standard --env mocha && mocha 'test/integration/**/*nobuild*.js'",
"testsdkgen": "standard --env mocha && mocha 'test/sdkgen/**/*.js'",
"mocha": "nyc --reporter=lcov mocha --recursive -R xunit-file",
"mocha": "nyc --reporter=lcov mocha 'test/unit/**/*.js' --reporter mocha-multi-reporters --reporter-options configFile=config.json",
"coverage": "standard --env mocha && nyc mocha --grep @full --invert 'test/unit/**/*.js' 'test/integration/**/*.js'",
"report-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov"
},
Expand Down Expand Up @@ -46,6 +46,7 @@
"mem-fs-editor": "^4.0.0",
"mkdirp": "^0.5.1",
"mocha": "^5.0.0",
"mocha-multi-reporters": "^1.1.7",
"nock": "^9.0.13",
"nyc": "^11.1.0",
"standard": "^10.0.3",
Expand Down

0 comments on commit c0d1dbd

Please sign in to comment.