aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/App.test.tsx
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-07-10 02:06:42 +0100
committerGravatar GitHub <[email protected]>2024-07-10 02:06:42 +0100
commitd96ea398a414595c907fde7c83027b6b1d42a0e3 (patch)
tree48b287c399570a26bad5fc4ba566bcf2e1cb8356 /src/tests/App.test.tsx
parentMerge pull request #635 from python-discord/jb3/deps/dep-bumps (diff)
parentAdd new test suite for testing authorization splash (diff)
Merge pull request #634 from python-discord/jb3/auth/popup-and-improvements
Authorization pop-up & misc improvements
Diffstat (limited to 'src/tests/App.test.tsx')
-rw-r--r--src/tests/App.test.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/App.test.tsx b/src/tests/App.test.tsx
index 9ee1ec7..aec6be4 100644
--- a/src/tests/App.test.tsx
+++ b/src/tests/App.test.tsx
@@ -1,11 +1,12 @@
import React from "react";
-import {act, render, waitFor} from "@testing-library/react";
+import {act, waitFor} from "@testing-library/react";
+import { renderWithProviders } from "./utils";
import App from "../App";
test("renders app to body", async () => {
await act(async () => {
- const {container} = render(<App/>);
+ const {container} = renderWithProviders(<App/>);
await waitFor(() => {
expect(container).toBeInTheDocument();
});