Sha256: 21249613924636214f2ddea35bcbcfd6305f0a78739a212f6b46072bf499d6d6
Contents?: true
Size: 684 Bytes
Versions: 6
Compression:
Stored size: 684 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import { CancelResumeConfirm } from '../CancelResumeConfirm'; import { CANCEL, RESUME, CLOSED } from '../../TasksTableConstants'; const baseProps = { closeModal: () => null, selectedRowsLen: 3, action: () => null, selected: [1, 2, 3], }; const fixtures = { 'renders CANCEL modal': { ...baseProps, modalStatus: CANCEL, }, 'renders RESUME modal': { ...baseProps, modalStatus: RESUME, }, 'renders CLOSED modal': { ...baseProps, modalStatus: CLOSED, }, }; describe('CancelResumeConfirm', () => testComponentSnapshotsWithFixtures(CancelResumeConfirm, fixtures));
Version data entries
6 entries across 6 versions & 1 rubygems