text: export default {
    successful: data => {
      return jest.fn().mockImplementation(() =>
        Promise.resolve({
          ok: true,
          json: () => data,
        })
      );
    },
    failing: () => {
      return jest.fn().mockImplementation(() =>
        Promise.reject({
          error: 'Oops, something went wrong',
        })
      );
    },
  };
  