Sha256: 962262d9aaf659af2c8b223ff515c10d968c311ce91f7e630dcb0925c1568547
Contents?: true
Size: 530 Bytes
Versions: 20
Compression:
Stored size: 530 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import AssignedRolesList from './AssignedRolesList'; const noop = () => {}; const fixtures = { 'should render': { assignedRoles: [{ id: 1, name: 'fake.role' }, { id: 2, name: 'test.role' }], pagination: { page: 1, perPage: 25 }, itemCount: 2, onPaginationChange: noop, onRemoveRole: noop, resourceName: 'host', }, }; describe('AssignedRolesList', () => testComponentSnapshotsWithFixtures(AssignedRolesList, fixtures));
Version data entries
20 entries across 20 versions & 1 rubygems