diff --git a/packages/core/data-transfer/lib/providers/local-strapi-destination-provider/__tests__/index.test.ts b/packages/core/data-transfer/lib/providers/local-strapi-destination-provider/__tests__/index.test.ts index 30ee775162..a2f5cf38a3 100644 --- a/packages/core/data-transfer/lib/providers/local-strapi-destination-provider/__tests__/index.test.ts +++ b/packages/core/data-transfer/lib/providers/local-strapi-destination-provider/__tests__/index.test.ts @@ -6,6 +6,13 @@ afterEach(() => { jest.clearAllMocks(); }); +jest.mock('../restore', () => { + return { + __esModule: true, + ...jest.requireActual('../restore'), + }; +}); + describe('Local Strapi Source Destination', () => { describe('Bootstrap', () => { test('Should not have a defined Strapi instance if bootstrap has not been called', () => {