Ghost/ghost/core/.c8rc.json
Naz aa8fe65665
Added "testmode" app to coverage ignore list
refs https://github.com/TryGhost/Toolbox/issues/486

- Testmode is a special app used for manual testing and has no value in code coverage reports
2022-11-30 16:45:22 +07:00

35 lines
863 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"
]
}