Sha256: 3a141dbe514802ed081766c1013ffd07fe707f82c8d5b9ed43d01cadf903895e
Contents?: true
Size: 633 Bytes
Versions: 80
Compression:
Stored size: 633 Bytes
Contents
import { testSelectorsSnapshotWithFixtures } from '@theforeman/test'; import { selectTaskStatus } from '../SyncButtonSelectors'; const state = { API: { INVENTORY_SYNC_TASK_UPDATE: { response: { endedAt: '2021-03-08T14:27:30.718+02:00', output: { host_statuses: { sync: 0, disconnect: 2, }, }, result: 'pending', }, status: 'RESOLVED', }, }, }; const fixtures = { 'should return InventorySync status': () => selectTaskStatus(state), }; describe('SyncButton selectors', () => testSelectorsSnapshotWithFixtures(fixtures));
Version data entries
80 entries across 80 versions & 1 rubygems