Sha256: 36636c24209815db37636d2fb31a58b49d8222f239d4cdff4d3841fb8b867285
Contents?: true
Size: 682 Bytes
Versions: 33
Compression:
Stored size: 682 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import AnsibleRole from './AnsibleRole'; const noop = () => {}; const fixtures = { 'should render a role to add': { role: { name: 'test.role', id: 5 }, icon: 'fa fa-plus-circle', onClick: noop, }, 'should render a role to remove': { role: { name: 'test.role', id: 5 }, icon: 'fa fa-minus-circle', onClick: noop, }, 'should render inherited role to remove': { role: { name: 'test.role', id: 5, inherited: true }, icon: 'fa fa-minus-circle', onClick: noop, }, }; describe('AnsibleRole', () => testComponentSnapshotsWithFixtures(AnsibleRole, fixtures));
Version data entries
33 entries across 33 versions & 1 rubygems