Sha256: 864d6be19e5a2cce040dac4af99c66ead6034d207c1eff1c12d25d0dfdb62e69
Contents?: true
Size: 688 Bytes
Versions: 2
Compression:
Stored size: 688 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import TasksTablePage from '../TasksTablePage'; import { minProps } from './TasksTable.fixtures'; const fixtures = { 'render with minimal props': minProps, 'render with Breadcrubs': { ...minProps, getBreadcrumbs: () => ({ breadcrumbItems: [ { caption: 'Tasks', url: `/foreman_tasks/tasks` }, { caption: 'action Name', url: `/foreman_tasks/tasks/someid`, }, { caption: 'Sub tasks' }, ], }), }, }; describe('TasksTablePage', () => { describe('rendering', () => testComponentSnapshotsWithFixtures(TasksTablePage, fixtures)); });
Version data entries
2 entries across 2 versions & 1 rubygems