Sha256: bc544899505d7fac5095cdea593cb52ab92458670b70b84b7229eaef4d8ef31b
Contents?: true
Size: 617 Bytes
Versions: 22
Compression:
Stored size: 617 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; 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
22 entries across 22 versions & 1 rubygems