Sha256: c7112a0fa983f718bb7dd6d2ac714f7435b7566427be4f19f3170b8ad8762dc8

Contents?: true

Size: 465 Bytes

Versions: 14

Compression:

Stored size: 465 Bytes

Contents

import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils';
import { hostInsightsStateWrapper } from '../../ForemanRhCloudTestHelpers';
import { hits } from './InsightsTab.fixtures';
import { selectHits } from '../InsightsTabSelectors';

const state = hostInsightsStateWrapper({ hits });

const fixtures = {
  'should return hits': () => selectHits(state),
};

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

Version data entries

14 entries across 14 versions & 1 rubygems

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