Commit Graph

3 Commits

Author SHA1 Message Date
Hannah Wolfe
b684f3636e
Added more files to c8 excludes
There are some files we don't expect _unit_ tests for - they are e2e tested and tracking that is a different problem!
- express routes and wiring files
   - this does not count middleware. Middleware functions should be fully unit tested
- previous API version files
- canary api endpoint configuration files
   - this does not count api utils, valiation and serialisation which can be unit tested
2021-11-16 15:53:08 +00:00
Sam Lord
1234a61b52 Mode c8 configuration from package.json to .c8rc.json
refs: https://github.com/TryGhost/Toolbox/issues/117

Simplifies the commands in package.json by adding defaults to the .c8rc.json file
2021-11-16 10:22:15 +00:00
Sam Lord
0f53e23763 Configured c8 to exclude frontend and migrations from coverage
refs: https://github.com/TryGhost/Toolbox/issues/117

Adding a basic configuration to the unit test coverage tracking to
ignore irrelevant files.
2021-11-16 09:53:32 +00:00