Sha256: e862ea3489375a8bddfdca149571c143b2f71d6a9c5e76271930378462ca8240

Contents?: true

Size: 386 Bytes

Versions: 2

Compression:

Stored size: 386 Bytes

Contents

export const get = data => ({ type: 'get-some-type', ...data });
export const put = data => ({ type: 'put-some-type', ...data });
export const post = data => ({ type: 'post-some-type', ...data });
export const patch = data => ({ type: 'patch-some-type', ...data });
export const API = {
  get: jest.fn(),
  put: jest.fn(),
  post: jest.fn(),
  delete: jest.fn(),
  patch: jest.fn(),
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_rh_cloud-3.0.16 webpack/__mocks__/foremanReact/redux/API/index.js
foreman_rh_cloud-3.0.15 webpack/__mocks__/foremanReact/redux/API/index.js