Sha256: 16b0ce97bbc7e57582dcac9fab415b4678cf24359ca0dbe13dd75d50ecce1ce3

Contents?: true

Size: 727 Bytes

Versions: 5

Compression:

Stored size: 727 Bytes

Contents

import { testComponentSnapshotsWithFixtures } from '@theforeman/test';

import { ConfirmationModals } from '../ConfirmationModals';

const fixtures = {
  'renders ConfirmationModals': {
    modalProps: {
      cancelSelectedModal: { setModalClosed: jest.fn() },
      resumeSelectedModal: { setModalClosed: jest.fn() },
      cancelModal: { setModalClosed: jest.fn() },
      resumeModal: { setModalClosed: jest.fn() },
    },
    selectedRowsLen: 7,
    tasksActions: {
      cancelTask: jest.fn(),
      resumeTask: jest.fn(),
      cancelSelectedTasks: jest.fn(),
      resumeSelectedTasks: jest.fn(),
    },
  },
};

describe('ConfirmationModals', () =>
  testComponentSnapshotsWithFixtures(ConfirmationModals, fixtures));

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman-tasks-1.1.3 webpack/ForemanTasks/Components/TasksTable/Components/__test__/ConfirmationModals.test.js
foreman-tasks-1.1.2 webpack/ForemanTasks/Components/TasksTable/Components/__test__/ConfirmationModals.test.js
foreman-tasks-1.1.1 webpack/ForemanTasks/Components/TasksTable/Components/__test__/ConfirmationModals.test.js
foreman-tasks-1.1.0 webpack/ForemanTasks/Components/TasksTable/Components/__test__/ConfirmationModals.test.js
foreman-tasks-1.0.1 webpack/ForemanTasks/Components/TasksTable/Components/__test__/ConfirmationModals.test.js