Sha256: ccbdedecef3f72d40e03028ace89e8630edc86a1b0e418cb38bface2a5ecf9c9
Contents?: true
Size: 1.12 KB
Versions: 11
Compression:
Stored size: 1.12 KB
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import AnsiblePlaybookSelector from '../AnsiblePlaybookSelector'; const noop = () => {}; const fixtures = { 'should render ansible playbook selector': { label: 'myLabel', hidden: false, editable: true, viewText: 'myText', selectValue: '1', onChange: noop, options: { first: 'first', second: 'second'}, additionalData: { moreData: 'moooore' }, }, 'should render hidden ansible playbook selector': { label: 'myLabel', hidden: true, editable: true, viewText: 'myText', selectValue: '1', onChange: noop, options: { first: 'first', second: 'second'}, additionalData: { moreData: 'moooore' }, }, 'should render not editable ansible playbook selector': { label: 'myLabel', hidden: false, editable: false, viewText: 'myText', selectValue: '1', onChange: noop, options: { first: 'first', second: 'second'}, additionalData: { moreData: 'moooore' }, }, }; describe('AnsiblePlaybookSelector', () => testComponentSnapshotsWithFixtures(AnsiblePlaybookSelector, fixtures));
Version data entries
11 entries across 11 versions & 1 rubygems