70bea3ddf8
no issue - coverage allows us to see how much of our code we're hitting in tests and it's time we started to get visibility on this in Ghost - we can then make informed decisions on which well-tested internal libraries can be pulled out into their own packages - this commit: - adds the c8 dev dependency to Ghost - prepends the `test:unit` command with c8 with the `text-summary` reporter - adds a `coverage:unit` command to get the `text` report - you can do `yarn coverage:unit --reporter html` to get a HTML report etc - uses this new test coverage reporter command in CI tests |
||
---|---|---|
.. | ||
hooks | ||
ISSUE_TEMPLATE | ||
workflows | ||
CODEOWNERS | ||
CONTRIBUTING.md | ||
FUNDING.yml | ||
label-actions.yml | ||
PULL_REQUEST_TEMPLATE.md | ||
stale.yml | ||
SUPPORT.md |