0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Removed service.js files from unit test coverage

The service.js files are rarely unit tested because they are
essentially glue code which acts as a singleton and doesn't use
dependency injection, this lil cocktail makes it difficult to stub
dependencies, as well as to call the init method more than once in a
test suite. This change should give us improved unit test coverage
This commit is contained in:
Fabien "egg" O'Carroll 2023-03-12 23:08:40 +07:00
parent 905c2ed090
commit 531e4ab1a9

View file

@ -32,6 +32,7 @@
"!core/server/api/endpoints/utils",
"core/server/services/email-analytics/jobs/**",
"core/server/services/members/jobs/**",
"core/server/services/email-service/wrapper.js"
"core/server/services/email-service/wrapper.js",
"core/server/services/**/service.js"
]
}