Sha256: 68ac7c0f272efeba7c1e013b676ad094258d230e913128680694b3a8614a1c93

Contents?: true

Size: 596 Bytes

Versions: 2

Compression:

Stored size: 596 Bytes

Contents

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

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_rh_cloud-0.9.7 webpack/__tests__/ForemanRhCloudSelectors.test.js
foreman_rh_cloud-1.0.7 webpack/__tests__/ForemanRhCloudSelectors.test.js