aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/__tests__/ducks/indexSpec.js
blob: c5c4d5257233d013661d5572633ccf8609820df9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import reduceState from '../../ducks/index'

describe('reduceState in js/ducks/index.js', () => {
    it('should combine flow and header', () => {
        let state = reduceState(undefined, {})
        expect(state.hasOwnProperty('eventLog')).toBeTruthy()
        expect(state.hasOwnProperty('flows')).toBeTruthy()
        expect(state.hasOwnProperty('settings')).toBeTruthy()
        expect(state.hasOwnProperty('connection')).toBeTruthy()
        expect(state.hasOwnProperty('ui')).toBeTruthy()
    })
})