mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 13:22:39 +03:00
Added default options to regression test utils
refs https://github.com/TryGhost/Toolbox/issues/152 - Allows to override boot options form regression test level - needed in some cases for vhost tests
This commit is contained in:
parent
9dc096cb15
commit
a58e9bb61c
@ -44,11 +44,11 @@ module.exports = {
|
||||
* With something based on the real boot
|
||||
* @returns {object} express App
|
||||
*/
|
||||
initGhost: async () => {
|
||||
const app = await boot({
|
||||
initGhost: async (options = {}) => {
|
||||
const app = await boot(Object.assign({
|
||||
server: false,
|
||||
backend: false
|
||||
});
|
||||
}, options));
|
||||
|
||||
await urlServiceUtils.isFinished();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user