X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4ad6191d53207a8b2d4c0c8a30b18119daaa5fbc..75fbb4eabf0da2fceebf8196bec769e4cbc6547b:/services/workbench2/src/components/breadcrumbs/breadcrumbs.test.tsx

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]);
     });
 
 });
