Sha256: 7a3dfc1ced837b9a84dd9fcb3857ed356f056d8a10ed31abbfe29f135980362f
Contents?: true
Size: 663 Bytes
Versions: 93
Compression:
Stored size: 663 Bytes
Contents
import { testReducerSnapshotWithFixtures } from '@theforeman/test'; import reducer from '../InsightsTabReducer'; import { hits } from './InsightsTab.fixtures'; import { INSIGHTS_HITS_REQUEST, INSIGHTS_HITS_SUCCESS, } from '../InsightsTabConstants'; const fixtures = { 'should return the initial state': {}, 'should handle INSIGHTS_HITS_REQUEST': { action: { type: INSIGHTS_HITS_REQUEST, payload: {}, }, }, 'should handle INSIGHTS_HITS_SUCCESS': { action: { type: INSIGHTS_HITS_SUCCESS, payload: { hits }, }, }, }; describe('AccountList reducer', () => testReducerSnapshotWithFixtures(reducer, fixtures));
Version data entries
93 entries across 93 versions & 1 rubygems