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.
This commit is contained in:
Sam Lord 2021-11-16 09:53:32 +00:00
parent 88311381ef
commit 0f53e23763

8
.c8rc.json Normal file
View File

@ -0,0 +1,8 @@
{
"exclude": [
"core/frontend/src/**",
"core/frontend/public/**",
"core/server/data/migrations/**",
"!core/server/data/migrations/utils.js"
]
}