Sha256: 2816bb43d2dd8524a7875615352e871ef36160a21d8741d18c36da1796d253eb
Contents?: true
Size: 611 Bytes
Versions: 70
Compression:
Stored size: 611 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import { TASKS_DASHBOARD_AVAILABLE_TIMES } from '../../../../TasksDashboardConstants'; import TimeDropDown from './TimeDropDown'; const createRequiredProps = () => ({ id: 'some-id' }); const fixtures = { 'render with minimal props': { ...createRequiredProps() }, 'render with all props': { ...createRequiredProps(), className: 'some-class', selectedTime: TASKS_DASHBOARD_AVAILABLE_TIMES.WEEK, onChange: jest.fn(), }, }; describe('TimeDropDown', () => testComponentSnapshotsWithFixtures(TimeDropDown, fixtures));
Version data entries
70 entries across 70 versions & 1 rubygems