Sha256: 48acabf2ad6b62a911d14fc3d2c0530d90c6b0eaa002950ff111fc4d9f3a8c20

Contents?: true

Size: 614 Bytes

Versions: 97

Compression:

Stored size: 614 Bytes

Contents

import { testSelectorsSnapshotWithFixtures } from '@theforeman/test';
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

97 entries across 97 versions & 1 rubygems

Version Path
foreman_rh_cloud-10.0.3 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-11.0.3 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-9.0.59 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-11.0.2 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-11.0.1 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-11.0.0 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-9.0.58 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-10.0.2 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-9.0.57 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-10.0.1 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-9.0.56 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-9.0.55 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-9.0.54 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-9.0.53 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-9.0.52 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-8.0.52 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-9.0.51 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-8.0.51 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-7.0.48 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
foreman_rh_cloud-7.0.47 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js