Sha256: c5115230525340e4b2e834fea66c1423d8b3f34d7d931668a68c99277a36dc9e
Contents?: true
Size: 707 Bytes
Versions: 68
Compression:
Stored size: 707 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import { SelectAllAlert } from '../SelectAllAlert'; const baseProps = { itemCount: 7, perPage: 5, selectAllRows: jest.fn(), unselectAllRows: jest.fn(), }; const fixtures = { 'renders SelectAllAlert with perPage > itemCout': { allRowsSelected: false, itemCount: 7, perPage: 10, ...baseProps, }, 'renders SelectAllAlert without all rows selected': { allRowsSelected: false, ...baseProps, }, 'renders SelectAllAlert with all rows selected': { allRowsSelected: true, ...baseProps, }, }; describe('SelectAllAlert', () => testComponentSnapshotsWithFixtures(SelectAllAlert, fixtures));
Version data entries
68 entries across 68 versions & 1 rubygems