aboutsummaryrefslogtreecommitdiffstats
path: root/web/src
diff options
context:
space:
mode:
Diffstat (limited to 'web/src')
-rw-r--r--web/src/js/__tests__/ducks/indexSpec.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/src/js/__tests__/ducks/indexSpec.js b/web/src/js/__tests__/ducks/indexSpec.js
new file mode 100644
index 00000000..c5c4d525
--- /dev/null
+++ b/web/src/js/__tests__/ducks/indexSpec.js
@@ -0,0 +1,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()
+ })
+})