Sha256: 6ee34f310af60659c7d3998e0b9f55e2df126f2cb72d3f4407d46b023afb693f
Contents?: true
Size: 878 Bytes
Versions: 60
Compression:
Stored size: 878 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import RunningSteps from '../RunningSteps'; const minProps = { id: 'task-id1', taskReload: true, cancelStep: jest.fn(), taskReloadStart: jest.fn(), }; const fixtures = { 'render with min Props': minProps, 'render with Props': { ...minProps, executionPlan: { state: 'paused', cancellable: false, }, runningSteps: [ { cancellable: false, id: 1, action_class: 'test', state: 'paused', input: '{"locale"=>"en",\n "current_request_id"=>nil,\n "current_user_id"=>4,\n "current_organization_id"=>nil,\n "current_location_id"=>nil}\n', output: '{}\n', }, ], }, }; describe('RunningSteps', () => { describe('rendering', () => testComponentSnapshotsWithFixtures(RunningSteps, fixtures)); });
Version data entries
60 entries across 60 versions & 1 rubygems