Skip to content

Commit

Permalink
Update tests/Slider.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: afc163 <[email protected]>
  • Loading branch information
DSoliz and afc163 authored Nov 27, 2024
1 parent 091dc0c commit f82b398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Slider.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ describe('Slider', () => {
});

it('sets aria-required on the handle', () => {
const { container } = render(<Slider ariaRequired='true' />);
const { container } = render(<Slider ariaRequired={true} />);
expect(container.getElementsByClassName('rc-slider-handle')[0]).toHaveAttribute(
'aria-required',
'true',
Expand Down

0 comments on commit f82b398

Please sign in to comment.