mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 04:43:12 +03:00
3e0ec26408
refs https://github.com/TryGhost/Toolbox/issues/475 - Having a single coverage config file for unit and e2e type of tests doesn't play well for tracking coverage progress. The unit test ones are run often when developing, so one can observe the changes in coverage. The e2e tests are ran mostly on CI environment and have different purposes/reach comparing to unit tests.
22 lines
386 B
JSON
22 lines
386 B
JSON
{
|
|
"all": true,
|
|
"check-coverage": true,
|
|
"reporter": [
|
|
"html-spa",
|
|
"text-summary",
|
|
"cobertura"
|
|
],
|
|
"reportsDir": "./coverage-e2e",
|
|
"statements": 78,
|
|
"branches": 80,
|
|
"functions": 80,
|
|
"lines": 78,
|
|
"include": [
|
|
"core/{*.js,frontend,server,shared}"
|
|
],
|
|
"exclude": [
|
|
"core/server/data/migrations/**",
|
|
"!core/server/data/migrations/utils.js"
|
|
]
|
|
}
|