diff options
Diffstat (limited to 'frontend/src/pages/Authentication.test.tsx')
-rw-r--r-- | frontend/src/pages/Authentication.test.tsx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/frontend/src/pages/Authentication.test.tsx b/frontend/src/pages/Authentication.test.tsx index 47114dad5..95bfe3f47 100644 --- a/frontend/src/pages/Authentication.test.tsx +++ b/frontend/src/pages/Authentication.test.tsx @@ -1,17 +1,10 @@ -import { render, screen } from "@testing-library/react"; -import { QueryClientProvider } from "react-query"; +import { render, screen } from "@/tests"; import { describe, it } from "vitest"; import Authentication from "./Authentication"; -import queryClient from "@/apis/queries"; - describe("Authentication", () => { it("should render without crash", () => { - render( - <QueryClientProvider client={queryClient}> - <Authentication></Authentication> - </QueryClientProvider> - ); + render(<Authentication></Authentication>); expect(screen.getByPlaceholderText("Username")).toBeDefined(); expect(screen.getByPlaceholderText("Password")).toBeDefined(); |