aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/App.test.tsx
blob: 9ee1ec799e3c2cd4fd6d28d850d2f6ac42bd4d00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import React from "react";
import {act, render, waitFor} from "@testing-library/react";

import App from "../App";

test("renders app to body", async () => {
    await act(async () => {
        const {container} = render(<App/>);
        await waitFor(() => {
            expect(container).toBeInTheDocument();
        });
    });
});