Sha256: b75974b1e6b7b9d78eb0034e38cb2f0d5d26caa0b322546920f6f5566a5ccb12

Contents?: true

Size: 701 Bytes

Versions: 164

Compression:

Stored size: 701 Bytes

Contents

import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils';

import { ORGANIZATION_PRODUCTS_KEY } from '../OrganizationProductsConstants';
import { selectOrganizationProductsState, selectOrganizationProducts } from '../OrganizationProductsSelectors';

const stateFixture = {
  katello: {
    [ORGANIZATION_PRODUCTS_KEY]: {
      results: 'some-results',
    },
  },
};

const fixtures = {
  'should select the organization products state': () => selectOrganizationProductsState(stateFixture),
  'should select the organization products': () => selectOrganizationProducts(stateFixture),
};

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

Version data entries

164 entries across 164 versions & 1 rubygems

Version Path
katello-4.15.0.rc2 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.15.0.rc1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.14.1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.14.0 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.14.0.rc3 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.14.0.rc2 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.14.0.rc1.1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.14.0.rc1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.13.1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.13.0 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.12.1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.13.0.rc1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.12.0 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.12.0.rc3 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.12.0.rc2 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.12.0.rc1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.11.1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.11.0 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.11.0.rc2 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-4.11.0.rc1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js