[ARVADOS-WORKBENCH2] updated: 1.1.4-569-g04833c8

Git user git at public.curoverse.com
Tue Aug 7 08:38:13 EDT 2018


Summary of changes:
 src/store/dialog/dialog-reducer.test.ts           | 2 +-
 src/store/tree-picker/tree-picker-reducer.test.ts | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

       via  04833c8886b570fc4e3766f8691b40f7fb5ca0cc (commit)
      from  e63198a93d7b537ffbb68b8210c99f76041fd112 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 04833c8886b570fc4e3766f8691b40f7fb5ca0cc
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date:   Tue Aug 7 14:36:56 2018 +0200

    Update tests
    
    Feature #13952
    
    Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>

diff --git a/src/store/dialog/dialog-reducer.test.ts b/src/store/dialog/dialog-reducer.test.ts
index f0bf9be..ec39395 100644
--- a/src/store/dialog/dialog-reducer.test.ts
+++ b/src/store/dialog/dialog-reducer.test.ts
@@ -16,7 +16,7 @@ describe('DialogReducer', () => {
     it('CLOSE_DIALOG', () => {
         const id = 'test id';
         const state = dialogReducer({}, dialogActions.CLOSE_DIALOG({ id }));
-        expect(state[id]).toEqual({ open: false });
+        expect(state[id]).toEqual({ open: false, data: {} });
     });
     
     it('CLOSE_DIALOG persist data', () => {
diff --git a/src/store/tree-picker/tree-picker-reducer.test.ts b/src/store/tree-picker/tree-picker-reducer.test.ts
index 443da37..ac4de0c 100644
--- a/src/store/tree-picker/tree-picker-reducer.test.ts
+++ b/src/store/tree-picker/tree-picker-reducer.test.ts
@@ -57,7 +57,7 @@ describe('TreePickerReducer', () => {
             .map(tree => treePickerReducer(tree, treePickerActions.TOGGLE_TREE_PICKER_NODE_COLLAPSE({ id: '1' })));
         expect(getNodeValue('1')(newTree)).toEqual({
             ...createTreePickerNode({ id: '1', value: '1' }),
-            collapsed: true
+            collapsed: false
         });
     });
 
@@ -70,7 +70,7 @@ describe('TreePickerReducer', () => {
             .map(tree => treePickerReducer(tree, treePickerActions.TOGGLE_TREE_PICKER_NODE_COLLAPSE({ id: '1' })));
         expect(getNodeValue('1')(newTree)).toEqual({
             ...createTreePickerNode({ id: '1', value: '1' }),
-            collapsed: false
+            collapsed: true
         });
     });
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list