src/integrations/__mocks__/contentful/dist/contentful.browser.min.js
const mockEventData = {
entries: [],
nextSyncToken: "abc"
};
// eslint-disable-next-line import/prefer-default-export
export const createClient = () => ({
async sync(opts) {
return opts.content_type === "event" ? mockEventData : {};
}
});