Sha256: 9210a4356b09a19617a9738396280b071925b613e50015c95b022d7947821871
Contents?: true
Size: 674 Bytes
Versions: 59
Compression:
Stored size: 674 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import { STATUS } from 'foremanReact/constants'; import Task from '../Task'; const fixtures = { 'render with minimal Props': { id: 'test', taskReloadStart: jest.fn(), taskProgressToggle: jest.fn(), }, 'render with some Props': { id: 'test', state: 'paused', hasSubTasks: true, dynflowEnableConsole: true, parentTask: 'parent-id', taskReload: true, canEdit: true, status: STATUS.RESOLVED, taskProgressToggle: jest.fn(), taskReloadStart: jest.fn(), }, }; describe('Task rendering', () => testComponentSnapshotsWithFixtures(Task, fixtures));
Version data entries
59 entries across 59 versions & 1 rubygems