Skip to content

Commit

Permalink
STRWEB-118 report test coverage
Browse files Browse the repository at this point in the history
Report test coverage to `artifacts/coverage`.

Refs STRWEB-118
  • Loading branch information
zburke committed Oct 2, 2024
1 parent 9db3b60 commit 3b1527f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* Don't worry about the order of CSS imports across modules. Refs STRWEB-110.
* Remove postcss-plugins: postcss-nesting, postcss-custom-properties, postcss-color-function, postcss-calc. Add CSS variables entry point in webpack config. Refs STRWEB-111.
* Report test coverage. Refs STRWEB-118.

## [5.1.0](https://github.com/folio-org/stripes-webpack/tree/v5.1.0) (2024-03-12)
[Full Changelog](https://github.com/folio-org/stripes-webpack/compare/v5.0.0...v5.1.0)
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"registry": "https://repository.folio.org/repository/npm-folio/"
},
"scripts": {
"test": "mocha --opts ./test/mocha.opts './test/webpack/**/*.js'"
"test": "nyc --reporter=html --report-dir=artifacts/coverage --all mocha --opts ./test/mocha.opts './test/webpack/**/*.js'"
},
"engines": {
"node": ">=12.0.0"
Expand Down Expand Up @@ -80,6 +80,7 @@
"chai": "^4.1.2",
"mocha": "^6.1.3",
"mocha-junit-reporter": "^1.17.0",
"nyc": "^17.1.0",
"sinon": "^7.3.2",
"sinon-chai": "^3.3.0",
"webpack": "^5.58.1"
Expand Down

0 comments on commit 3b1527f

Please sign in to comment.