Skip to content

Commit

Permalink
Use c8 directly for test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn committed Mar 2, 2024
1 parent 82b2869 commit 19a5ac2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions package-lock.json

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

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
"scripts": {
"test": "run-p lint type borp",
"lint": "eslint .",
"borp": "borp --coverage",
"borp": "c8 borp",
"type": "tsc",
"prepare": "husky install",
"prepack": "tsc"
"prepack": "tsc",
"posttest": "c8 report --reporter=text-lcov > ./coverage/lcov.info"
},
"keywords": [],
"author": "Digital Democracy",
Expand All @@ -29,6 +30,7 @@
"@types/nanobench": "^3.0.0",
"@types/sodium-native": "^2.3.5",
"borp": "^0.9.1",
"c8": "^9.1.0",
"eslint": "^8.44.0",
"husky": "^8.0.3",
"hypercore": "^10.17.0",
Expand Down

0 comments on commit 19a5ac2

Please sign in to comment.