Ghost/.github
Daniel Lockyer 70bea3ddf8 Added c8 coverage to unit tests
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
2021-08-20 12:42:11 +02:00
..
hooks
ISSUE_TEMPLATE Update ---bug-report.md 2021-04-13 10:53:36 +01:00
workflows Added c8 coverage to unit tests 2021-08-20 12:42:11 +02:00
CODEOWNERS
CONTRIBUTING.md Update CONTRIBUTING.md 2021-04-20 15:44:18 +01:00
FUNDING.yml
label-actions.yml
PULL_REQUEST_TEMPLATE.md
stale.yml
SUPPORT.md