Sha256: 0bccbeb4f4c4d2eb4e9ca55e722b2a4ef0c37330a5f92c90eda78cfa7f19d8de

Contents?: true

Size: 387 Bytes

Versions: 81

Compression:

Stored size: 387 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

81 entries across 81 versions & 1 rubygems

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