mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -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:
parent
709b40144d
commit
5dd6cb909f
1 changed files with 3 additions and 1 deletions
|
@ -10,11 +10,13 @@
|
|||
"statements": 78,
|
||||
"branches": 80,
|
||||
"functions": 80,
|
||||
"lines": 78,
|
||||
"lines": 79,
|
||||
"include": [
|
||||
"core/{*.js,frontend,server,shared}"
|
||||
],
|
||||
"exclude": [
|
||||
"core/frontend/src/**",
|
||||
"core/frontend/public/**",
|
||||
"core/server/data/migrations/**",
|
||||
"!core/server/data/migrations/utils.js"
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue