mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
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 |
||
---|---|---|
.. | ||
canary.yml | ||
release.yml | ||
test.yml |