From f327a520299900c50452644236c0a971aa8ec3c6 Mon Sep 17 00:00:00 2001 From: Matthew Shao Date: Mon, 8 May 2017 09:26:00 +0800 Subject: [PATCH] [web] Add tests for js/__tests__/ducks/ui/indexSpec.js --- web/src/js/__tests__/ducks/ui/indexSpec.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 web/src/js/__tests__/ducks/ui/indexSpec.js diff --git a/web/src/js/__tests__/ducks/ui/indexSpec.js b/web/src/js/__tests__/ducks/ui/indexSpec.js new file mode 100644 index 000000000..3c136bfff --- /dev/null +++ b/web/src/js/__tests__/ducks/ui/indexSpec.js @@ -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() + }) +})