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
@ -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…
Reference in New Issue
Block a user