fix mocks (#713)

This commit is contained in:
Philip Korsholm
2021-11-03 13:14:47 +01:00
committed by GitHub
parent 58127564d7
commit 075864f24c
2 changed files with 1 additions and 10 deletions

View File

@@ -1,10 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ContentfulMock = void 0;
var ContentfulMock = {
createClient: jest.fn()
};
exports.ContentfulMock = ContentfulMock;

View File

@@ -1,4 +1,5 @@
export const createClient = jest.fn()
const mock = jest.fn().mockImplementation(() => {
return { createClient }
})