Sha256: 3c06dc985d963b810ffc12098cd7a5e4299cb16693b9acaa5ff8a4e00b2d911a
Contents?: true
Size: 652 Bytes
Versions: 13
Compression:
Stored size: 652 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import AssignedRolesList from './AssignedRolesList'; const noop = () => {}; const fixtures = { 'should render': { allAssignedRoles: [ { id: 1, name: 'fake.role' }, { id: 2, name: 'test.role' }, ], 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
13 entries across 13 versions & 1 rubygems