diff --git a/applications/app/src/views/home/HomeView.test.tsx b/applications/app/src/views/home/HomeView.test.tsx index ca0afbf32..8e483a4a0 100644 --- a/applications/app/src/views/home/HomeView.test.tsx +++ b/applications/app/src/views/home/HomeView.test.tsx @@ -6,6 +6,7 @@ import { HomeView } from "./HomeView"; describe("home-view", () => { it("exists", async () => { render(); + await expect( screen.findByText("Hello, World!"), ).resolves.toBeInTheDocument(); diff --git a/templates/react-application/src/App.test.tsx b/templates/react-application/src/App.test.tsx index 8fa554f56..aa61c881b 100644 --- a/templates/react-application/src/App.test.tsx +++ b/templates/react-application/src/App.test.tsx @@ -6,6 +6,7 @@ import { App } from "./App"; describe("app", () => { it("exists", async () => { render(); + await expect( screen.findByText("Hello, World!"), ).resolves.toBeInTheDocument(); diff --git a/templates/solid-application/src/App.test.tsx b/templates/solid-application/src/App.test.tsx index b4a0cdc8c..2f335d6a4 100644 --- a/templates/solid-application/src/App.test.tsx +++ b/templates/solid-application/src/App.test.tsx @@ -6,6 +6,7 @@ import { App } from "./App"; describe("app", () => { it("exists", async () => { render(() => ); + await expect( screen.findByText("Hello, World!"), ).resolves.toBeInTheDocument();