mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
531e4ab1a9
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 |
||
---|---|---|
.. | ||
content | ||
core | ||
test | ||
.c8rc.e2e.json | ||
.c8rc.json | ||
.eslintignore | ||
.eslintrc.js | ||
.npmignore | ||
config.development.json | ||
ghost.js | ||
index.js | ||
jsconfig.json | ||
loggingrc.js | ||
MigratorConfig.js | ||
package.json | ||
playwright.config.js |