From 1de9bad0fee71d55abd8f03e72ec58acd026ac8c Mon Sep 17 00:00:00 2001 From: arifanadeem Date: Tue, 11 Nov 2025 16:03:05 +0500 Subject: [PATCH] test cases are correct --- app/counter.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/counter.test.tsx b/app/counter.test.tsx index 2d3b111c..8488296a 100644 --- a/app/counter.test.tsx +++ b/app/counter.test.tsx @@ -8,5 +8,5 @@ it("App Router: Works with Client Components (React State)", () => { render(); expect(screen.getByRole("heading")).toHaveTextContent("0"); fireEvent.click(screen.getByRole("button")); - expect(screen.getByRole("heading")).toHaveTextContent("11"); + expect(screen.getByRole("heading")).toHaveTextContent("1"); });