Fix App test

Change-Id: Iacaa6f5e70925b857f24554e6aba64234b1cae44
This commit is contained in:
Manuel Stahl 2024-04-16 12:45:39 +02:00
parent f6e193c51c
commit 37e1fcc96d

View file

@ -1,9 +1,10 @@
import React from "react";
import { render } from "@testing-library/react";
import { render, screen } from "@testing-library/react";
import App from "./App";
describe("App", () => {
it("renders", () => {
it("renders", async () => {
render(<App />);
await screen.findAllByText("Welcome to Synapse-admin");
});
});