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 370a56e commit 38b327dCopy full SHA for 38b327d
lib/src/client/switch/switch.test.tsx
@@ -24,7 +24,7 @@ describe("switch", () => {
24
test("color-scheme-toggle with skip system", async ({ expect }) => {
25
const hook = renderHook(() => useMode());
26
act(() => {
27
- hook.result.current.setMode(SYSTEM);
+ hook.result.current.setMode(LIGHT);
28
});
29
render(<Switch skipSystem>Switch with children</Switch>);
30
const element = screen.getByTestId("switch");
0 commit comments