From 4142d346daf906430138b961063a9ae98d1aa169 Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Mon, 13 May 2024 17:12:44 +0200 Subject: [PATCH] Remove unneeded call --- src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.test.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.test.tsx b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.test.tsx index 373bdb25a..49890ab44 100644 --- a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.test.tsx +++ b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.test.tsx @@ -32,8 +32,6 @@ import * as ViewModels from "../../../Contracts/ViewModels"; import { updateUserContext } from "../../../UserContext"; import Explorer from "../../Explorer"; -jest.requireActual("Explorer/Controls/Editor/EditorReact"); - jest.mock("Common/dataAccess/queryDocuments", () => ({ queryDocuments: jest.fn(() => ({ // Omit headers, because we can't mock a private field and we don't need to test it @@ -91,7 +89,7 @@ async function waitForComponentToPaint

(wrapper: ReactWrapper

| S return newWrapper; } -describe("Documents tab", () => { +describe("Documents tab (noSql API)", () => { describe("buildQuery", () => { it("should generate the right select query for SQL API", () => { expect(buildQuery(false, "")).toContain("select");