diff --git a/src/components/Connections/__tests__/ConnectionFormModal.unit.test.tsx b/src/components/Connections/__tests__/ConnectionFormModal.unit.test.tsx index bd4eede3b..baeeff8f3 100644 --- a/src/components/Connections/__tests__/ConnectionFormModal.unit.test.tsx +++ b/src/components/Connections/__tests__/ConnectionFormModal.unit.test.tsx @@ -1,4 +1,4 @@ -import { AuthContext } from "@flanksource-ui/context"; +import { AuthContext, FakeUser, Roles } from "@flanksource-ui/context"; import { UserAccessStateContextProvider } from "@flanksource-ui/context/UserAccessContext/UserAccessContext"; import { QueryClient } from "@tanstack/query-core"; import { QueryClientProvider } from "@tanstack/react-query"; @@ -53,15 +53,7 @@ describe("ConnectionForm", () => { it("renders form when provided with initial value", async () => { render( - + { it("renders list of connection types", async () => { render( - + { it("renders form when connection type is selected", async () => { render( - +