Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Zeeshan Tamboli <[email protected]>
Signed-off-by: Josh Kelley <[email protected]>
  • Loading branch information
joshkel and ZeeshanTamboli authored Jan 21, 2025
1 parent bfc18c9 commit 1f5ad06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/mui-material/src/Slider/Slider.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1196,11 +1196,11 @@ describe('<Slider />', () => {
});
});

it(`stops at the max value with custom marks`, () => {
const handleChange = stub().callsFake((_event, value) => value);
it('stops at the max value with custom marks', () => {
const handleChange = stub();
const { getByRole } = render(
<Slider
marks={[10, 20, 30].map((value) => ({ value }))}
marks={[{ value: 10 }, { value: 20 }, { value: 30 }]}
step={null}
value={30}
onChange={handleChange}
Expand Down

0 comments on commit 1f5ad06

Please sign in to comment.