Sha256: ff383db8071ba70dde565617a2eaabcf8fd27411e28170357fd88fdc9159e425
Contents?: true
Size: 796 Bytes
Versions: 78
Compression:
Stored size: 796 Bytes
Contents
import { testSelectorsSnapshotWithFixtures } from '@theforeman/test'; import { selectItems, selectAutoRefresh, selectApiStatus, selectTotalHosts, selectIntervalExists, } from '../TargetingHostsSelectors'; const state = { TARGETING_HOSTS: { status: 'RESOLVED', response: { hosts: [1, 2], total_hosts: 2, autoRefresh: 'true', }, }, }; const fixtures = { 'should return hosts': () => selectItems(state), 'should return autoRefresh': () => selectAutoRefresh(state), 'should return apiStatus': () => selectApiStatus(state), 'should return totalHosts': () => selectTotalHosts(state), 'should return intervalExists': () => selectIntervalExists(state), }; describe('TargetingHostsSelectors', () => testSelectorsSnapshotWithFixtures(fixtures));
Version data entries
78 entries across 78 versions & 1 rubygems