X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f3b8d03f7063b162355bccfd71aeb2b8b67bbdbb..362fec1a8b8c33498a4daf5b0fd204285f537c29:/services/workbench2/src/components/breadcrumbs/breadcrumbs.test.tsx?ds=sidebyside

diff --git a/services/workbench2/src/components/breadcrumbs/breadcrumbs.test.tsx b/services/workbench2/src/components/breadcrumbs/breadcrumbs.test.tsx
index f17ce3936d..dfc52860f2 100644
--- a/services/workbench2/src/components/breadcrumbs/breadcrumbs.test.tsx
+++ b/services/workbench2/src/components/breadcrumbs/breadcrumbs.test.tsx
@@ -77,7 +77,7 @@ describe("<Breadcrumbs />", () => {
                 </MuiThemeProvider>
             </Provider>);
         breadcrumbs.find(Button).at(1).simulate('click');
-        expect(onClick).toBeCalledWith(items[1]);
+        expect(onClick).toHaveBeenCalledWith(expect.any(Function), items[1]);
     });
 
 });
