Skip to content

Commit 6e2b696

Browse files
committed
Update UserMenu.test.tsx
1 parent b3588fd commit 6e2b696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

course-matrix/frontend/__tests__/unit-tests/UserMenu.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,6 @@ describe("UserMenu Component", () => {
8383
fireEvent.click(screen.getByText("John Doe"));
8484
fireEvent.click(screen.getByText("Logout"));
8585

86-
// Add assertions to check if the user is logged out
86+
expect(localStorage.getItem("userInfo")).toBeNull();
8787
});
8888
});

0 commit comments

Comments
 (0)