Sha256: 46bad155023d33e2f2ae8cf3a7ed786acec9e008e4b39fccb7379fff9ac1807f

Contents?: true

Size: 721 Bytes

Versions: 11

Compression:

Stored size: 721 Bytes

Contents

import { testSelectorsSnapshotWithFixtures } from '../../../move_to_pf/test-utils/testHelpers';

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

11 entries across 11 versions & 1 rubygems

Version Path
katello-3.11.2 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-3.10.2 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-3.10.1.1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-3.10.1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-3.11.1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-3.11.0 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-3.11.0.rc2 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-3.11.0.rc1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-3.10.0 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-3.10.0.rc1.1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
katello-3.10.0.rc1 webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js