mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
e24209a84f
- I might be the only person who uses these, but I like to dig into coverage reports so I can see where we've got holes - In Ghost the reports is huge and unweildy, and it's hard to see what coverage is like for components grouped by folders - html-spa reporter fixes this, it makes a beautiful nested tree view, but you can also switch to flat - it's so much more useful for working on coverage in an area of the codebase!
35 lines
835 B
JSON
35 lines
835 B
JSON
{
|
|
"all": true,
|
|
"check-coverage": true,
|
|
"reporter": [
|
|
"html-spa",
|
|
"text-summary",
|
|
"cobertura"
|
|
],
|
|
"statements": 56,
|
|
"branches": 85,
|
|
"functions": 51,
|
|
"lines": 56,
|
|
"include": [
|
|
"core/{*.js,frontend,server,shared}"
|
|
],
|
|
"exclude": [
|
|
"core/frontend/src/**",
|
|
"core/frontend/public/**",
|
|
"core/server/data/migrations/**",
|
|
"!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/v2/**",
|
|
"core/server/api/v3/**",
|
|
"core/server/api/canary/**",
|
|
"!core/server/api/canary/utils"
|
|
]
|
|
}
|