0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-25 02:31:59 -05:00

Tweaked code coverage config for e2e tests

refs https://github.com/TryGhost/Toolbox/issues/475
refs https://github.com/TryGhost/Toolbox/issues/117

- The frontend/src folded would never get picked up by a code coverage tooling as scripts there are dynamically minimized and served from the server
- There's nothing to cover under frontend/public
- Logic behind these changes is the same as in second referenced issue
This commit is contained in:
Naz 2022-11-29 14:22:27 +07:00
parent 709b40144d
commit 5dd6cb909f
No known key found for this signature in database

View file

@ -10,11 +10,13 @@
"statements": 78, "statements": 78,
"branches": 80, "branches": 80,
"functions": 80, "functions": 80,
"lines": 78, "lines": 79,
"include": [ "include": [
"core/{*.js,frontend,server,shared}" "core/{*.js,frontend,server,shared}"
], ],
"exclude": [ "exclude": [
"core/frontend/src/**",
"core/frontend/public/**",
"core/server/data/migrations/**", "core/server/data/migrations/**",
"!core/server/data/migrations/utils.js" "!core/server/data/migrations/utils.js"
] ]