Sha256: d52c8dfb4ee592c1e623285515f0ea3c5d796d8c35fe50a76917401c29b6c32e
Contents?: true
Size: 906 Bytes
Versions: 16
Compression:
Stored size: 906 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import ExtSelect from '../ExtSelect'; const noop = () => {}; const fixtures = { 'should render selection field': { hidden: false, editable: false, viewText: '', selectValue: '1', onChange: noop, options: { first: 'first', second: 'second'}, additionalData: { moreData: 'moooore' }, }, 'should render hidden selection field': { hidden: true, editable: false, viewText: '', selectValue: null, onChange: noop, options: {}, additionalData: {}, }, 'should render disabled button': { hidden: false, editable: true, viewText: 'Awesome Text', selectValue: '0', onChange: noop, options: { first: 'first', second: 'second'}, additionalData: {}, }, }; describe('ExtSelect', () => testComponentSnapshotsWithFixtures(ExtSelect, fixtures));
Version data entries
16 entries across 16 versions & 1 rubygems