Sha256: 54e121e43b42349efc7ab7f7fd64ad506feee54df484f8e00f6053bebf878064
Contents?: true
Size: 879 Bytes
Versions: 4
Compression:
Stored size: 879 Bytes
Contents
import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils'; import { selectAccountsList, selectAccounts, selectPollingProcessID, selectAutoUploadEnabled, } from '../AccountListSelectors'; import { pollingProcessID, accounts, autoUploadEnabled, } from '../AccountList.fixtures'; const state = { ForemanInventoryUpload: { 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
4 entries across 4 versions & 1 rubygems