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:
parent
905c2ed090
commit
531e4ab1a9
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue