Sha256: bdef9a90bc0a08946366c4c79394e791b3d716b98a470536b25c185e21302078
Contents?: true
Size: 718 Bytes
Versions: 58
Compression:
Stored size: 718 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; 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, index: 0, }, 'should render a role to remove': { role: { name: 'test.role', id: 5 }, icon: 'fa fa-minus-circle', onClick: noop, index: 0, }, 'should render inherited role to remove': { role: { name: 'test.role', id: 5, inherited: true }, icon: 'fa fa-minus-circle', onClick: noop, index: 0, }, }; describe('AnsibleRole', () => testComponentSnapshotsWithFixtures(AnsibleRole, fixtures));
Version data entries
58 entries across 58 versions & 1 rubygems