X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/f0bdbd499c57a4a8f5db6a68411bfa8deb7ee291..a6d1469a04f5a6a658cdeac5fc8a11f01d3a1c02:/src/components/data-explorer/data-explorer.test.tsx

diff --git a/src/components/data-explorer/data-explorer.test.tsx b/src/components/data-explorer/data-explorer.test.tsx
index 3e447b40..d74b5319 100644
--- a/src/components/data-explorer/data-explorer.test.tsx
+++ b/src/components/data-explorer/data-explorer.test.tsx
@@ -73,15 +73,6 @@ describe("<DataExplorer />", () => {
         expect(onRowClick).toHaveBeenCalledWith("rowClick");
     });
 
-    it("does not render <DataTable/> if there is no items", () => {
-        const dataExplorer = mount(<DataExplorer
-            {...mockDataExplorerProps()}
-            items={[]}
-            onSetColumns={jest.fn()} />);
-        expect(dataExplorer.find(DataTable)).toHaveLength(0);
-        expect(dataExplorer.find(DefaultView)).toHaveLength(1);
-    });
-
     it("communicates with <TablePagination/>", () => {
         const onChangePage = jest.fn();
         const onChangeRowsPerPage = jest.fn();
@@ -124,4 +115,5 @@ const mockDataExplorerProps = () => ({
     defaultIcon: ProjectIcon,
     onSetColumns: jest.fn(),
     defaultMessages: ['testing'],
+    contextMenuColumn: true
 });
