Sha256: 244ca1fa382e082eda4c9b7d86673bb7c94a56aaea4cfd77debccc4badf2cfd6
Contents?: true
Size: 673 Bytes
Versions: 60
Compression:
Stored size: 673 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import TaskDetails from '../TaskDetails'; import { minProps } from './TaskDetails.fixtures'; const fixtures = { 'render with loading Props': { ...minProps, isLoading: true }, 'render with error Props': { ...minProps, status: 'ERROR', APIerror: { message: 'some-error' }, }, 'render with min Props': minProps, }; delete window.location; window.location = new URL( 'https://foreman.com/foreman_tasks/tasks/a15dd820-32f1-4ced-9ab7-c0fab8234c47/' ); describe('TaskDetails', () => { describe('rendering', () => testComponentSnapshotsWithFixtures(TaskDetails, fixtures)); });
Version data entries
60 entries across 60 versions & 1 rubygems