ssbc / ssb-keys

keyfile operations for ssb
36 stars 26 forks source link

Add code coverage tooling #72

Closed staltz closed 4 years ago

staltz commented 4 years ago

This is a simple first-step code coverage addition to this repo. nyc is run prefixed to tape test/* and will simply run tape but at the end will report a summary of test coverage on the codebase.

It's clear that we have a lot of code not covered by tests. We should make more PRs to add tests and seek for 100% coverage, especially for ssb-keys which is a highly-depended-on module.

staltz commented 4 years ago

(Pending on #71 being merged first, to fix CI failures)

staltz commented 4 years ago

Thanks! Merging because it was reviewed/approved and CI tests pass.