Skip to content

Commit

Permalink
fix : label prop 으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
SeieunYoo committed Jun 28, 2024
1 parent 8dc1ca3 commit 90edc7c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/wow-ui/src/components/MultiGroup/MultiGroup.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ describe("multi group with checkbox", () => {
it("should render checkbox components with children", () => {
render(
<MultiGroup variant="checkbox">
<Checkbox children="checkbox1" value="checkbox1" />
<Checkbox disabled children="checkbox2" value="checkbox2" />
<Checkbox children="checkbox3" value="checkbox3" />
<Checkbox label="checkbox1" value="checkbox1" />
<Checkbox disabled label="checkbox2" value="checkbox2" />
<Checkbox label="checkbox3" value="checkbox3" />
</MultiGroup>
);
const checkbox1 = screen.getByText("checkbox1");
Expand All @@ -27,9 +27,9 @@ describe("multi group with checkbox", () => {
it("should render checkbox components with its own state", () => {
const rendered = render(
<MultiGroup variant="checkbox">
<Checkbox children="checkbox1" value="checkbox1" />
<Checkbox disabled children="checkbox2" value="checkbox2" />
<Checkbox children="checkbox3" value="checkbox3" />
<Checkbox label="checkbox1" value="checkbox1" />
<Checkbox disabled label="checkbox2" value="checkbox2" />
<Checkbox label="checkbox3" value="checkbox3" />
</MultiGroup>
);
const checkboxes = rendered.getAllByRole("checkbox");
Expand Down

0 comments on commit 90edc7c

Please sign in to comment.