Skip to content

Commit

Permalink
use dorny repo for lcov report
Browse files Browse the repository at this point in the history
  • Loading branch information
j-catania committed Jan 12, 2024
1 parent 7e78a4e commit dcc20ad
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ _He is just a modulary guy for checking service health_
[![Docker Image Size (tag)](https://img.shields.io/docker/image-size/juuu/emusk/latest?logo=docker)](https://hub.docker.com/r/juuu/emusk)
[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg?logo=jest)](https://github.com/jestjs/jest)

![Coverage badge](./coverage-badge.svg)

## Usage
```shell
Expand Down
1 change: 1 addition & 0 deletions coverage-badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions package-lock.json

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

9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"start": "node src/index.js",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --reporters=jest-junit --coverage",
"standard": "standard",
"standard:fix": "standard --fix"
"standard:fix": "standard --fix",
"make-coverage-badge": "make-coverage-badge --output-path ./coverage-badge.svg"
},
"engines": {
"node": ">=18.0.0",
Expand All @@ -38,8 +39,14 @@
"@jest/globals": "^29.7.0",
"jest": "^29.6.4",
"jest-junit": "^16.0.0",
"make-coverage-badge": "^1.2.0",
"standard": "^17.1.0"
},
"jest": {
"coverageReporters": [
"json-summary"
]
},
"jest-junit": {
"outputDirectory": "reports",
"outputName": "jest-junit.xml",
Expand Down

0 comments on commit dcc20ad

Please sign in to comment.