Skip to content

Commit

Permalink
test: added test coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
HalloSouf committed Apr 16, 2024
1 parent a49bf0f commit 851dc6d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_modules/

# Production
build/
coverage/

# Package Manager
yarn.lock
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@
alt="npm downloads"
/>
</a>
<a href="https://github.com/mcdata-dev/data/actions">
<img src="https://github.com/mcdata-dev/data/actions/workflows/test.yml/badge.svg" alt="Tests status" />
<a href="https://github.com/mcdata-dev/mcdata-data/actions">
<img
src="https://github.com/mcdata-dev/mcdata-data/actions/workflows/tests.yml/badge.svg"
alt="Tests status"
/>
</a>
<a href="https://codecov.io/gh/mcdata-dev/mcdata-data">
<img src="https://codecov.io/gh/mcdata-dev/mcdata-data/graph/badge.svg?token=HMAP40BDEZ" />
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@
"postpublish": "run-s clean:node",
"prepublishOnly": "run-s clean build:node",
"format": "prettier --write .",
"test": "vitest run"
"test": "vitest run --coverage"
},
"devDependencies": {
"@vitest/coverage-v8": "^1.5.0",
"gen-esm-wrapper": "^1.1.3",
"globals": "^15.0.0",
"npm-run-all2": "^6.1.2",
Expand Down

0 comments on commit 851dc6d

Please sign in to comment.