Skip to content

Commit

Permalink
refactor: tweak test
Browse files Browse the repository at this point in the history
  • Loading branch information
ryo-manba committed Jun 22, 2024
1 parent 3ae6284 commit a829cca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/radio/__tests__/radio.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ describe("Radio", () => {
expect(radio2).toBeChecked();
});

it("should support help text description", function () {
it("should support help text description", () => {
const {getByRole} = render(
<RadioGroup description="Help text" label="Options">
<Radio value="1">Option 1</Radio>
Expand All @@ -231,7 +231,7 @@ describe("Radio", () => {
expect(groupDescriptionElement).toHaveTextContent("Help text");
});

it("should support help text description for the individual radios", function () {
it("should support help text description for the individual radios", () => {
const {getByLabelText} = render(
<RadioGroup description="Help text" label="Options">
<Radio description="Help text for option 1" value="1">
Expand Down

0 comments on commit a829cca

Please sign in to comment.