From f916143d70a79795da90ff819396f7569e174c11 Mon Sep 17 00:00:00 2001 From: Rory Doak Date: Fri, 20 Sep 2024 12:12:29 +0100 Subject: [PATCH] fix: alter TeamMembers tests for new mock member --- .../components/Team/tests/TeamMembers.removeUser.test.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Team/tests/TeamMembers.removeUser.test.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Team/tests/TeamMembers.removeUser.test.tsx index 0983c5566a..015aec2f0e 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Team/tests/TeamMembers.removeUser.test.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Team/tests/TeamMembers.removeUser.test.tsx @@ -1,14 +1,8 @@ import { screen, waitFor, within } from "@testing-library/react"; import { useStore } from "pages/FlowEditor/lib/store"; -import React from "react"; -import { DndProvider } from "react-dnd"; -import { HTML5Backend } from "react-dnd-html5-backend"; -import { setup } from "testUtils"; import { vi } from "vitest"; import { axe } from "vitest-axe"; -import { RemoveUserModal } from "../components/RemoveUserModal"; -import { SettingsModal } from "../components/SettingsModal"; import { setupTeamMembersScreen } from "./helpers/setupTeamMembersScreen"; import { mockTeamMembersData } from "./mocks/mockTeamMembersData"; import { mockPlainUser, mockPlatformAdminUser } from "./mocks/mockUsers";