Sha256: 6913e0e1955a47ea0e32c53e9db70c7e8eb00b98156bec2e13d3a4a3136337ff
Contents?: true
Size: 812 Bytes
Versions: 6
Compression:
Stored size: 812 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; 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
6 entries across 6 versions & 1 rubygems