We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3588fd commit 6e2b696Copy full SHA for 6e2b696
course-matrix/frontend/__tests__/unit-tests/UserMenu.test.tsx
@@ -83,6 +83,6 @@ describe("UserMenu Component", () => {
83
fireEvent.click(screen.getByText("John Doe"));
84
fireEvent.click(screen.getByText("Logout"));
85
86
- // Add assertions to check if the user is logged out
+ expect(localStorage.getItem("userInfo")).toBeNull();
87
});
88
0 commit comments