Sha256: 872bce62d5452662b06de54ec067de377c92f7765f4783b513ee46b8b2fe7e62
Contents?: true
Size: 873 Bytes
Versions: 2
Compression:
Stored size: 873 Bytes
Contents
import { testSelectorsSnapshotWithFixtures } from '@theforeman/test'; 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
2 entries across 2 versions & 1 rubygems