Sha256: b081c9508a4ec405ba819e9bcdf23b25219a70e60db47858cbaaf5c5b1052d10

Contents?: true

Size: 694 Bytes

Versions: 4

Compression:

Stored size: 694 Bytes

Contents

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

const state = rhCloudStateWrapper({ inventoryReducersNamespaces: {} });

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

4 entries across 4 versions & 1 rubygems

Version Path
foreman_rh_cloud-1.0.9 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-0.9.9 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-0.9.8 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-1.0.8 webpack/__tests__/ForemanRhCloudSelectors.test.js