Skip to content

Commit 38b327d

Browse files
committed
fix test
1 parent 370a56e commit 38b327d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/client/switch/switch.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe("switch", () => {
2424
test("color-scheme-toggle with skip system", async ({ expect }) => {
2525
const hook = renderHook(() => useMode());
2626
act(() => {
27-
hook.result.current.setMode(SYSTEM);
27+
hook.result.current.setMode(LIGHT);
2828
});
2929
render(<Switch skipSystem>Switch with children</Switch>);
3030
const element = screen.getByTestId("switch");

0 commit comments

Comments
 (0)