Sha256: 9992de4fcb12ee87efe9b62526deb4877b5814d0f08dca4fab26ed62567dabfa
Contents?: true
Size: 777 Bytes
Versions: 23
Compression:
Stored size: 777 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import SortableHeaderItem from '../SortableHeaderItem'; const changeSort = () => {}; const fixtures = { 'should render when not selected': { changeSort, sort: { attribute: '', order: 'asc' }, value: 'severity', title: 'severity', }, 'should render when selected and sorting asc': { changeSort, sort: { attribute: 'severity', order: 'asc' }, value: 'severity', title: 'Severity', }, 'should render when selected and sorting desc': { changeSort, sort: { attribute: 'severity', order: 'desc' }, value: 'severity', title: 'Severity', }, }; describe('SortableHeaderItem', () => testComponentSnapshotsWithFixtures(SortableHeaderItem, fixtures));
Version data entries
23 entries across 23 versions & 1 rubygems