Sha256: 5a2fbb26e39a6cf5214d0efda5fc2f71a2f4b185163cc91d766123e3520ea8e6
Contents?: true
Size: 984 Bytes
Versions: 17
Compression:
Stored size: 984 Bytes
Contents
import { testSelectorsSnapshotWithFixtures } from '@theforeman/test'; import { inventoryStateWrapper } from '../../../../../../ForemanRhCloudTestHelpers'; import { status, error, syncHosts, disconnectHosts, } from './SyncButtonFixtures'; import { selectInventorySync, selectStatus, selectError, selectSyncHosts, selectDisconnectHosts, } from '../SyncButtonSelectors'; const state = inventoryStateWrapper({ inventorySync: { status, error, syncHosts, disconnectHosts, }, }); const fixtures = { 'should return InventorySync': () => selectInventorySync(state), 'should return InventorySync status': () => selectStatus(state), 'should return InventorySync error': () => selectError(state), 'should return InventorySync SyncHosts': () => selectSyncHosts(state), 'should return InventorySync disconnectHosts': () => selectDisconnectHosts(state), }; describe('SyncButton selectors', () => testSelectorsSnapshotWithFixtures(fixtures));
Version data entries
17 entries across 17 versions & 1 rubygems