Sha256: 953d7151e76c36b039f59ab7d25717a45171e4f3d2cbb7dadf30041cd15243ab
Contents?: true
Size: 662 Bytes
Versions: 10
Compression:
Stored size: 662 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import NewTemplateSync from '../NewTemplateSync'; jest.mock('foremanReact/routes/common/PageLayout/PageLayout'); const noop = () => {}; const commonFixture = { apiUrls: {}, getSyncSettings: noop, validationData: {}, userPermissions: { import: true, export: true, }, }; const fixtures = { 'should render when loaded': { loadingSettings: false, ...commonFixture, }, 'should render when loading': { loadingSettings: true, ...commonFixture, }, }; describe('NewTemplateSync', () => testComponentSnapshotsWithFixtures(NewTemplateSync, fixtures));
Version data entries
10 entries across 10 versions & 1 rubygems