Sha256: 41290668bcb9063fe66ae05948d66850aa4dad923cb9043ff0d294e73e7e47c6
Contents?: true
Size: 676 Bytes
Versions: 8
Compression:
Stored size: 676 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, }, '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
8 entries across 8 versions & 1 rubygems