Sha256: 7519c8fda48ab8b577e4574be0c8e4a14556bcc8bc0b9747f5170869cff7fa36
Contents?: true
Size: 543 Bytes
Versions: 33
Compression:
Stored size: 543 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import AvailableRolesList from './AvailableRolesList'; const noop = () => {}; const fixtures = { 'should render': { unassignedRoles: [ { id: 1, name: 'fake.role' }, { id: 2, name: 'test.role' }, ], pagination: { page: 1, perPage: 25 }, itemCount: 2, onListingChange: noop, onAddRole: noop, loading: false, }, }; describe('AvailableRolesList', () => testComponentSnapshotsWithFixtures(AvailableRolesList, fixtures));
Version data entries
33 entries across 33 versions & 1 rubygems