Sha256: e5b22fe97b7003a76f64c1a775eab9bb174878c0c7b18ee6b159efb7d3befebc
Contents?: true
Size: 932 Bytes
Versions: 1
Compression:
Stored size: 932 Bytes
Contents
import { testSelectorsSnapshotWithFixtures } from '@theforeman/test'; import { selectAccountsList, selectAccounts, selectPollingProcessID, selectAutoUploadEnabled, } from '../AccountListSelectors'; import { pollingProcessID, accounts, autoUploadEnabled, } from '../AccountList.fixtures'; import { inventoryStateWrapper } from '../../../../ForemanRhCloudTestHelpers'; const state = inventoryStateWrapper({ accountsList: { accounts, pollingProcessID, autoUploadEnabled, }, }); const fixtures = { 'should return AccountsList': () => selectAccountsList(state), 'should return AccountList accounts': () => selectAccounts(state), 'should return AccountList pollingProcessID': () => selectPollingProcessID(state), 'should return AccountList autoUploadEnabled': () => selectAutoUploadEnabled(state), }; describe('AccountList selectors', () => testSelectorsSnapshotWithFixtures(fixtures));
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_rh_cloud-2.0.7 | webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListSelectors.test.js |