Sha256: 7a1b5718735e7b7780280cbe06e0685d38e887f2f9cc9f21b291b4e51ec1cae7
Contents?: true
Size: 780 Bytes
Versions: 26
Compression:
Stored size: 780 Bytes
Contents
import { testSelectorsSnapshotWithFixtures } from '@theforeman/test'; import { preupgradeReports } from './PreupgradeReports.fixtures'; import { selectPreupgradeReports, selectLoadingPreupgradeReports, selectError, } from '../PreupgradeReportsSelectors'; const state = { foremanLeapp: { preupgrade: { preupgradeReports, loadingPreupgradeReports: false, error: { errorMsg: 'Error', statusText: 'Status text' }, }, }, }; const fixtures = { 'should return preupgrade reports': () => selectPreupgradeReports(state), 'should return loading state': () => selectLoadingPreupgradeReports(state), 'should return error': () => selectError(state), }; describe('PreupgradeReportsSelectors', () => testSelectorsSnapshotWithFixtures(fixtures));
Version data entries
26 entries across 26 versions & 1 rubygems