[web] Add tests for js/__tests__/ducks/ui/indexSpec.js

This commit is contained in:
Matthew Shao 2017-05-08 09:26:00 +08:00
parent 21cdfe835b
commit f327a52029

View File

@ -0,0 +1,9 @@
import reduceUI from '../../../ducks/ui/index'
describe('reduceUI in js/ducks/ui/index.js', () => {
it('should combine flow and header', () => {
let state = reduceUI(undefined, {})
expect(state.hasOwnProperty('flow')).toBeTruthy()
expect(state.hasOwnProperty('header')).toBeTruthy()
})
})