Sha256: 692484a01bc477603d51a1c188a81ea67bb6f5e268e0f2a45e55d7c8725d00f1

Contents?: true

Size: 688 Bytes

Versions: 2

Compression:

Stored size: 688 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
foreman_rh_cloud-2.0.9 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-2.0.8 webpack/__tests__/ForemanRhCloudSelectors.test.js