From 78eb600db7afeaef97bfee8087a70f4bab3ed0f6 Mon Sep 17 00:00:00 2001 From: ghdtjgus76 Date: Fri, 31 May 2024 16:47:46 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=ED=85=8C=EC=8A=A4=ED=8A=B8,=20?= =?UTF-8?q?=EC=8A=A4=ED=86=A0=EB=A6=AC=EB=B6=81=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wow-ui/src/components/SwitchGroup/SwitchGroup.stories.tsx | 2 +- .../wow-ui/src/components/SwitchGroup/SwitchGroup.test.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"); });