fix mocks (#713)
This commit is contained in:
@@ -1,10 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
Object.defineProperty(exports, "__esModule", {
|
|
||||||
value: true
|
|
||||||
});
|
|
||||||
exports.ContentfulMock = void 0;
|
|
||||||
var ContentfulMock = {
|
|
||||||
createClient: jest.fn()
|
|
||||||
};
|
|
||||||
exports.ContentfulMock = ContentfulMock;
|
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
export const createClient = jest.fn()
|
export const createClient = jest.fn()
|
||||||
|
|
||||||
const mock = jest.fn().mockImplementation(() => {
|
const mock = jest.fn().mockImplementation(() => {
|
||||||
return { createClient }
|
return { createClient }
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user