Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 21, 2024
1 parent 3d12a89 commit e0c9593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/client/core/core.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe("theme-switcher", () => {
act(() => {
result.current.setMode(DARK);
});
expect(result.current.mode).toBe(DARK);
expect(localStorage.getItem(STORAGE_KEY)).toBe(DARK);
});

test("test storing state to localStorage and DOM updates", async ({ expect }) => {
Expand Down

0 comments on commit e0c9593

Please sign in to comment.