Skip to content

Commit

Permalink
chore: set run code coverage on run test
Browse files Browse the repository at this point in the history
  • Loading branch information
jukbot committed May 17, 2024
1 parent eb25e8a commit 137289e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions bunfig.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[test]

# always enable coverage
coverage = true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"build:docs": "vite build --config vite-docs.config.js",
"lint": "standard",
"test": "bun test",
"coverage": "nyc --reporter=lcov --reporter=text-summary npm run test"
"coverage": "nyc --reporter=lcov --reporter=text-summary bun test --coverage"
},
"author": "Juk V.",
"license": "MIT",
Expand Down

0 comments on commit 137289e

Please sign in to comment.