Sha256: 3a17817f53e0a2536c37a746bb3f01a7e577f9402f1f58dec5267ac0b1f0e2ef

Contents?: true

Size: 710 Bytes

Versions: 16

Compression:

Stored size: 710 Bytes

Contents

import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils';
import { rhCloudStateWrapper } from '../ForemanRhCloudTestHelpers';
import {
  selectForemanRhCloud,
  selectForemanInventoryUpload,
  selectInsightsCloudSync,
} from '../ForemanRhCloudSelectors';

const state = rhCloudStateWrapper(
  { inventoryChild: {} },
  { insightsChild: {} }
);

const fixtures = {
  'should return ForemanRhCloud': () => selectForemanRhCloud(state),
  'should return ForemanInventoryUpload': () =>
    selectForemanInventoryUpload(state),
  'should return InsightsCloudSync': () => selectInsightsCloudSync(state),
};

describe('ForemanRhCloud selectors', () =>
  testSelectorsSnapshotWithFixtures(fixtures));

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
foreman_rh_cloud-1.0.18 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-1.0.17 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-1.0.16 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-1.0.15 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-1.0.14 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-0.9.14 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-0.9.13.1 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-1.0.13.1 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-0.9.13 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-1.0.13 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-0.9.12 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-1.0.12 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-0.9.11 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-1.0.11 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-0.9.10 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-1.0.10 webpack/__tests__/ForemanRhCloudSelectors.test.js