X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/f0bdbd499c57a4a8f5db6a68411bfa8deb7ee291..2b3f667039ba2e7efe0852d58ae2c62899b773f0:/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("", () => { expect(onRowClick).toHaveBeenCalledWith("rowClick"); }); - it("does not render if there is no items", () => { - const dataExplorer = mount(); - expect(dataExplorer.find(DataTable)).toHaveLength(0); - expect(dataExplorer.find(DefaultView)).toHaveLength(1); - }); - it("communicates with ", () => { const onChangePage = jest.fn(); const onChangeRowsPerPage = jest.fn(); @@ -124,4 +115,5 @@ const mockDataExplorerProps = () => ({ defaultIcon: ProjectIcon, onSetColumns: jest.fn(), defaultMessages: ['testing'], + contextMenuColumn: true });