Closed XhmikosR closed 3 years ago
I typically default to nyc but I dunno how well that plays along with mocha.
Both work well, but c8 is a lot lighter :)
https://packagephobia.com/result?p=c8%2Cnyc
PS. I didn't connect this to any coverage service since it's just one file, but it should be pretty easy to do it later with actions.
Honestly coverage is not a goal of this project and I plan to freeze this codebase when your clean up PR lands. As I mentioned earlier I don't want to add churn that doesn't add value.
This package is in maintenance mode. We will not be adding new features so changing testing, coverage, and code formatting isn't something I want to encourage.
Thanks for all your work but after that clean up PR lands I don't plan to merge any PRs that aren't fixing bugs or security notices .
NP, although this doesn't hurt and it makes it easy to spot what's covered and what's not in tests.
It's the most lightweight solution I'm aware of.
Happy to adapt the npm scripts to your liking.