From 2c14923bb6e1525f8079cfb071c0c969a6aa7c9f Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Tue, 8 Feb 2022 16:52:38 +0000 Subject: [PATCH] Renamed mock-utils to mock-manager refs: https://github.com/TryGhost/Toolbox/issues/158 - continuing to try to make the framework as clean as possible --- ...-framework-mock-utils.js => e2e-framework-mock-manager.js} | 0 test/utils/e2e-framework.js | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename test/utils/{e2e-framework-mock-utils.js => e2e-framework-mock-manager.js} (100%) diff --git a/test/utils/e2e-framework-mock-utils.js b/test/utils/e2e-framework-mock-manager.js similarity index 100% rename from test/utils/e2e-framework-mock-utils.js rename to test/utils/e2e-framework-mock-manager.js diff --git a/test/utils/e2e-framework.js b/test/utils/e2e-framework.js index 3e740c263d..0472a765f1 100644 --- a/test/utils/e2e-framework.js +++ b/test/utils/e2e-framework.js @@ -23,7 +23,7 @@ const uuid = require('uuid'); const fixtures = require('./fixture-utils'); const redirectsUtils = require('./redirects'); const configUtils = require('./configUtils'); -const mockUtils = require('./e2e-framework-mock-utils'); +const mockManager = require('./e2e-framework-mock-manager'); const boot = require('../../core/boot'); const TestAgent = require('./test-agent'); @@ -140,7 +140,7 @@ module.exports = { }, // Mocks and Stubs - mockManager: mockUtils, + mockManager, // DB State Manipulation fixtureManager: {