Sha256: 822a9a22d6b7d8d0c03a9950bfb28266f0a653e4bb34478709ad129aceb8b7e2
Contents?: true
Size: 989 Bytes
Versions: 23
Compression:
Stored size: 989 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import PreupgradeReportsList from '../index'; const allEntries = [ { title: 'Fix me!', severity: 'Too severe to talk about' }, { title: 'I am broken too', severity: 'medium' }, { title: 'Octocat is not happy', severity: 'high' }, { title: 'Not enough credits', severity: 'low' }, ]; const isSelected = () => false; const toggleSelected = () => {}; const sort = { attribute: '', order: 'asc' }; const changeSort = () => {}; const toggleSelectAll = () => {}; const fixtures = { 'should render': { allEntries, fixAllWorking: false, isSelected, toggleSelected, sort, changeSort, toggleSelectAll, }, 'should render when working': { allEntries, fixAllWorking: true, isSelected, toggleSelected, sort, changeSort, toggleSelectAll, }, }; describe('PreupgradeReportsList', () => testComponentSnapshotsWithFixtures(PreupgradeReportsList, fixtures));
Version data entries
23 entries across 23 versions & 1 rubygems