Sha256: bd1e81a5587ce0bfe96db1c7ea2d5f0f7f1dc0ae0da124685ea715944b38dff4
Contents?: true
Size: 620 Bytes
Versions: 16
Compression:
Stored size: 620 Bytes
Contents
import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils'; import { selectSettings, selectInsightsSyncEnabled, } from '../InsightsSettingsSelectors'; import { insightsStateWrapper } from '../../../../ForemanRhCloudTestHelpers'; const state = insightsStateWrapper({ settings: { insightsSyncEnabled: true, }, }); const fixtures = { 'should return insights sync settings': () => selectSettings(state), 'should return insightsSyncEnabled setting': () => selectInsightsSyncEnabled(state), }; describe('InsightsSettings selectors', () => testSelectorsSnapshotWithFixtures(fixtures));
Version data entries
16 entries across 16 versions & 1 rubygems