Ghost/ghost/core/.c8rc.json
Simon Backx ffc0cc020a Updated coverage excemption list
Removed the wrapper class for the email service from coverage, because this only wires up a lot of dependencies, which is hard to test in a unit test because we also have to init all the dependencies in a unit test. It is already covered by E2E tests.
2023-02-17 14:27:59 +01:00

38 lines
1012 B
JSON

{
"all": true,
"check-coverage": true,
"reporter": [
"html-spa",
"text-summary",
"cobertura"
],
"statements": 60,
"branches": 85,
"functions": 50,
"lines": 60,
"include": [
"core/{*.js,frontend,server,shared}"
],
"exclude": [
"core/frontend/src/**",
"core/frontend/public/**",
"core/server/data/migrations/**",
"core/server/data/schema/schema.js",
"!core/server/data/migrations/utils.js",
"core/frontend/web/**",
"!core/frontend/web/middleware/**",
"core/server/web/api/**",
"!core/server/web/api/middleware/**",
"core/server/web/api/testmode/**",
"core/server/web/parent/**",
"!core/server/web/parent/middleware/**",
"core/server/web/shared/**",
"!core/server/web/shared/middleware/**",
"core/server/api/endpoints/**",
"!core/server/api/endpoints/utils",
"core/server/services/email-analytics/jobs/**",
"core/server/services/members/jobs/**",
"core/server/services/email-service/wrapper.js"
]
}