Sha256: a1693708bdc5fa48eb8d9e2c96bda85ae03edf02da9f45de81bb888ae86afbcc
Contents?: true
Size: 806 Bytes
Versions: 11
Compression:
Stored size: 806 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import SyncSettingField from '../SyncSettingField'; import { associateSetting, forceSetting, filterSetting, } from '../../__fixtures__/templateSyncSettings.fixtures'; const noop = () => () => {}; const commonFixtures = { resetField: noop, disabled: false, syncType: 'import', }; const fixtures = { 'should render setting with select choices': { setting: associateSetting, ...commonFixtures, }, 'should render setting with input field': { setting: filterSetting, ...commonFixtures, }, 'should render boolean setting as checkbox': { setting: forceSetting, ...commonFixtures, }, }; describe('SyncSettingField', () => testComponentSnapshotsWithFixtures(SyncSettingField, fixtures));
Version data entries
11 entries across 11 versions & 1 rubygems