diff --git a/src/App.test.jsx b/src/App.test.jsx index b768fa3..4bba9b1 100644 --- a/src/App.test.jsx +++ b/src/App.test.jsx @@ -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(); + await screen.findAllByText("Welcome to Synapse-admin"); }); });