Send new user data to server
[arvados-workbench2.git] / src / store / dialog / dialog-reducer.test.ts
index f0bf9be8189fe31484135a61712675c3c46b5149..ec39395e3cfb808ba7d336e357ae8153eca62193 100644 (file)
@@ -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', () => {