X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/42de1303354a30d004095003d6143deaa3f62992..ad5512c3aafbed2e97ea5c24442fcd2d17a35edf:/src/components/tree/tree.test.tsx

diff --git a/src/components/tree/tree.test.tsx b/src/components/tree/tree.test.tsx
index 3018a493..45981d89 100644
--- a/src/components/tree/tree.test.tsx
+++ b/src/components/tree/tree.test.tsx
@@ -10,7 +10,7 @@ import ListItem from "@material-ui/core/ListItem/ListItem";
 import { Tree, TreeItem } from './tree';
 import { ProjectResource } from '../../models/project';
 import { mockProjectResource } from '../../models/test-utils';
-import { Checkbox } from '../../../node_modules/@material-ui/core';
+import { Checkbox } from '@material-ui/core';
 
 Enzyme.configure({ adapter: new Adapter() });
 
@@ -86,7 +86,7 @@ describe("Tree component", () => {
             onContextMenu={jest.fn()}
             onSelectionChange={onSelectionChanged}
             items={[project]} />);
-        wrapper.find(Checkbox).prop('onChange')();
+        wrapper.find(Checkbox).prop('onClick')();
         expect(spy).toHaveBeenLastCalledWith({
             data: mockProjectResource(),
             id: "3",
