Skip to content

Commit 99826b7

Browse files
Merge pull request #55 from Eric-Zhang-Developer/fix/failing-tests
fix: typo in dashboard page test
2 parents 3304af6 + c483ad6 commit 99826b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/app/dashboard/__tests__/page.test.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,9 @@ describe("Dashboard Page Tests", () => {
7979
it("should show Green button for Hello World if completed", async () => {
8080
// Override the mock for THIS test to simulate completion
8181
mockEq.mockResolvedValue({
82-
data: [{ quiz_id: "hello-world" }],
82+
data: [{ quest_id: "hello-world" }],
8383
error: null,
8484
});
85-
8685
const page = await DashboardPage();
8786
render(page);
8887

0 commit comments

Comments
 (0)