Sha256: 7c2e4112cbb8ee02cacd2eb833da2d8a847b194b8da9e7341c9b1e83a1a0b04c
Contents?: true
Size: 772 Bytes
Versions: 10
Compression:
Stored size: 772 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import SyncSettingFields from '../SyncSettingFields'; import { importSettings, exportSettings, } from '../../__fixtures__/templateSyncSettings.fixtures'; const noop = () => {}; const commonFixtures = { importSettings, exportSettings, resetField: noop, formProps: { isSubmitting: false }, disabled: false, }; const fixtures = { 'should show export settings': { syncType: 'export', validationData: {}, ...commonFixtures, }, 'should show import settings': { syncType: 'import', validationData: { repo: ['http', 'https'] }, ...commonFixtures, }, }; describe('SyncSettingFields', () => testComponentSnapshotsWithFixtures(SyncSettingFields, fixtures));
Version data entries
10 entries across 10 versions & 1 rubygems