Sha256: ca0c7ea2b75c1349715ed72b969c916d04f16ada02b3e99e4d83e5e69c787df6

Contents?: true

Size: 704 Bytes

Versions: 98

Compression:

Stored size: 704 Bytes

Contents

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

98 entries across 98 versions & 1 rubygems

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