[ARVADOS-WORKBENCH2] updated: 2.1.0-436-g7ebf70dc

Git user git at public.arvados.org
Wed Sep 22 20:46:04 UTC 2021


Summary of changes:
 src/components/refresh-button/refresh-button.test.tsx | 2 ++
 1 file changed, 2 insertions(+)

       via  7ebf70dc266ce6a01f930d89e599120641f248da (commit)
      from  7f80f22374711ce0c55d7a1657b9039fe84a2c1f (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 7ebf70dc266ce6a01f930d89e599120641f248da
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date:   Wed Sep 22 22:45:27 2021 +0200

    16951: Fixed failing unit tests
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>

diff --git a/src/components/refresh-button/refresh-button.test.tsx b/src/components/refresh-button/refresh-button.test.tsx
index fe7b609d..b082d469 100644
--- a/src/components/refresh-button/refresh-button.test.tsx
+++ b/src/components/refresh-button/refresh-button.test.tsx
@@ -18,6 +18,7 @@ describe('<RefreshButton />', () => {
             history: {
                 replace: jest.fn(),
             },
+            startRefresh: jest.fn(),
             classes: {},
         };
     });
@@ -39,5 +40,6 @@ describe('<RefreshButton />', () => {
 
         // then
         expect(props.history.replace).toHaveBeenCalledWith('/');
+        expect(props.startRefresh).toHaveBeenCalled();
     });
 });

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list