Sha256: a6de103b105403eabb08a92c22c9f9768426acedd47bfa0b65a158fe2cb0caca
Contents?: true
Size: 710 Bytes
Versions: 6
Compression:
Stored size: 710 Bytes
Contents
import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils'; import { selectAccountsList, selectStatuses, selectPollingProcessID, } from '../AccountListSelectors'; import { pollingProcessID, statuses } from '../AccountList.fixtures'; const state = { ForemanInventoryUpload: { accountsList: { statuses, pollingProcessID, }, }, }; const fixtures = { 'should return AccountsList': () => selectAccountsList(state), 'should return AccountList statuses': () => selectStatuses(state), 'should return AccountList pollingProcessID': () => selectPollingProcessID(state), }; describe('AccountList selectors', () => testSelectorsSnapshotWithFixtures(fixtures));
Version data entries
6 entries across 6 versions & 1 rubygems