diff --git a/packages/wow-ui/src/components/SwitchGroup/SwitchGroup.stories.tsx b/packages/wow-ui/src/components/SwitchGroup/SwitchGroup.stories.tsx index bcaa162f..7c95dac6 100644 --- a/packages/wow-ui/src/components/SwitchGroup/SwitchGroup.stories.tsx +++ b/packages/wow-ui/src/components/SwitchGroup/SwitchGroup.stories.tsx @@ -59,7 +59,7 @@ export const Primary: Story = { <> - + ), }, diff --git a/packages/wow-ui/src/components/SwitchGroup/SwitchGroup.test.tsx b/packages/wow-ui/src/components/SwitchGroup/SwitchGroup.test.tsx index 7825bdb7..52d4cbc8 100644 --- a/packages/wow-ui/src/components/SwitchGroup/SwitchGroup.test.tsx +++ b/packages/wow-ui/src/components/SwitchGroup/SwitchGroup.test.tsx @@ -11,7 +11,7 @@ describe("switch group", () => { beforeEach(() => { rendered = render( - + @@ -21,7 +21,7 @@ describe("switch group", () => { it("should render switch components with its own state", () => { const switchComponents = rendered.getAllByRole("checkbox"); - expect(switchComponents[0]).toHaveAttribute("aria-checked", "true"); + expect(switchComponents[0]).toHaveAttribute("aria-checked", "false"); expect(switchComponents[1]).toHaveAttribute("aria-disabled", "true"); expect(switchComponents[2]).toHaveAttribute("aria-checked", "false"); });