Sha256: 04a16ab9c692564590eb3b54426847f9e51c97a351688773882feea83650a75e
Contents?: true
Size: 704 Bytes
Versions: 2
Compression:
Stored size: 704 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import PreupgradeReports from '../PreupgradeReports'; import { preupgradeReports } from './PreupgradeReports.fixtures'; const fixtures = { 'should render when loaded': { loading: false, error: {}, preupgradeReports, }, 'should render when loading': { loading: true, error: {}, preupgradeReports: [], }, 'should render error': { loading: false, error: { statusText: 'Internal server error', errorMsg: 'Well, this is embarassing', }, preupgradeReports: [], }, }; describe('PreupgradeReports', () => testComponentSnapshotsWithFixtures(PreupgradeReports, fixtures));
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman_leapp-0.0.5 | webpack/components/PreupgradeReports/__tests__/PreupgradeReports.test.js |
foreman_leapp-0.0.4 | webpack/components/PreupgradeReports/__tests__/PreupgradeReports.test.js |