a2d487e074
refs https://ghost.slack.com/archives/C02G9E68C/p1669707419081529?thread_ts=1669702577.532999&cid=C02G9E68C refs https://github.com/TryGhost/Toolbox/issues/117 - Database schema definition file is a special type of "configuration" file containing mostly static declarations. This sort of code should not be tested by unit tests, rather by e2e tests
34 lines
824 B
JSON
34 lines
824 B
JSON
{
|
|
"all": true,
|
|
"check-coverage": true,
|
|
"reporter": [
|
|
"html-spa",
|
|
"text-summary",
|
|
"cobertura"
|
|
],
|
|
"statements": 60,
|
|
"branches": 85,
|
|
"functions": 51,
|
|
"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/parent/**",
|
|
"!core/server/web/parent/middleware/**",
|
|
"core/server/web/shared/**",
|
|
"!core/server/web/shared/middleware/**",
|
|
"core/server/api/endpoints/**",
|
|
"!core/server/api/endpoints/utils"
|
|
]
|
|
}
|