Sha256: 0b991e37d402a9fa873508148ca162de110782a9f6ef23d571f98e1790106ec1

Contents?: true

Size: 214 Bytes

Versions: 10

Compression:

Stored size: 214 Bytes

Contents

const modalOpen = true;
const setModalOpen = jest.fn();
const setModalClosed = jest.fn();

export const useForemanModal = () => ({
  modalOpen,
  setModalOpen,
  setModalClosed,
});
export default useForemanModal;

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
foreman_statistics-1.1.1 webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js
foreman_statistics-1.1.0 webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js
foreman_statistics-1.0.0 webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js
foreman_statistics-0.1.3 webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js
foreman_statistics-0.1.2 webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js
foreman-tasks-1.1.3 webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js
foreman-tasks-1.1.2 webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js
foreman-tasks-1.1.1 webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js
foreman-tasks-1.1.0 webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js
foreman-tasks-1.0.1 webpack/__mocks__/foremanReact/components/ForemanModal/ForemanModalHooks.js