mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Fixed mock-express test setup
refs https://github.com/TryGhost/Toolbox/issues/152 - The tests would fail without these initializations when run in isolation
This commit is contained in:
parent
ea50944897
commit
57de4aca71
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ module.exports = {
|
|||
await settingsService.init();
|
||||
urlServiceUtils.init();
|
||||
|
||||
const customRedirects = require('../../../../core/server/services/redirects');
|
||||
await customRedirects.init();
|
||||
const routeSettings = require('../../../../core/server/services/route-settings');
|
||||
await routeSettings.init();
|
||||
const customThemeSettingsService = require('../../../../core/server/services/custom-theme-settings');
|
||||
customThemeSettingsService.init();
|
||||
const themeService = require('../../../../core/server/services/themes');
|
||||
|
|
Loading…
Add table
Reference in a new issue