refs #test-fix
[arvados-workbench2.git] / src / views-components / project-tree / project-tree.test.tsx
index 56566da617998bcd658fff147e6dfd7ee2268a89..98b4a67cb00049551f52da687981aa6a2258bd18 100644 (file)
@@ -33,32 +33,6 @@ describe("ProjectTree component", () => {
             toggleActive={jest.fn()}
             onContextMenu={jest.fn()} />);
 
-        expect(wrapper.find(ListItemIcon)).toHaveLength(1);
-    });
-
-    it("should render 2 ListItemIcons", () => {
-        const project: Array<TreeItem<ProjectResource>> = [
-            {
-                data: mockProjectResource(),
-                id: "3",
-                open: false,
-                active: true,
-                status: 1
-            },
-            {
-                data: mockProjectResource(),
-                id: "3",
-                open: false,
-                active: true,
-                status: 1
-            }
-        ];
-        const wrapper = mount(<ProjectTree
-            projects={project}
-            toggleOpen={jest.fn()}
-            toggleActive={jest.fn()}
-            onContextMenu={jest.fn()} />);
-
         expect(wrapper.find(ListItemIcon)).toHaveLength(2);
     });