jest.spyOn(global, "fetch").mockImplementation(() => Promise.resolve({ ok: true, json: () => ({ json: true }) }))