Sha256: ad8584ac7829bb1b6cd27c372b13a7515a54fed7d342e05da9a40d4748fd2f2f
Contents?: true
Size: 761 Bytes
Versions: 83
Compression:
Stored size: 761 Bytes
Contents
import { testSelectorsSnapshotWithFixtures } from '@theforeman/test'; import { selectAccountsList, selectAccounts, selectPollingProcessID, } from '../AccountListSelectors'; import { pollingProcessID, accounts } from '../AccountList.fixtures'; import { rhCloudStateWrapper } from '../../../../ForemanRhCloudTestHelpers'; const state = rhCloudStateWrapper({ accountsList: { accounts, pollingProcessID, }, }); const fixtures = { 'should return AccountsList': () => selectAccountsList(state), 'should return AccountList accounts': () => selectAccounts(state), 'should return AccountList pollingProcessID': () => selectPollingProcessID(state), }; describe('AccountList selectors', () => testSelectorsSnapshotWithFixtures(fixtures));
Version data entries
83 entries across 83 versions & 1 rubygems