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