Moved theme preview mw to new theme engine service

refs: bf0823c9a2

- continuing the work of splitting up the theme service into logical components
This commit is contained in:
Hannah Wolfe 2021-04-23 14:24:49 +01:00
parent d3f20c52fd
commit 5458126422
3 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ const errors = require('@tryghost/errors');
const settingsCache = require('../../../server/services/settings/cache');
const labs = require('../../../server/services/labs');
const activeTheme = require('../theme-engine/active');
const preview = require('./preview');
const preview = require('../theme-engine/preview');
// ### Ensure Active Theme
// Ensure there's a properly set & mounted active theme before attempting to serve a site request

View File

@ -1,7 +1,7 @@
const should = require('should');
const sinon = require('sinon');
const preview = require('../../../../core/frontend/services/themes/preview');
const preview = require('../../../../core/frontend/services/theme-engine/preview');
describe('Theme Preview', function () {
let req, previewString = '';