diff --git a/packages/material-ui/src/Slider/Slider.test.js b/packages/material-ui/src/Slider/Slider.test.js
index d87129d6b9b469..568b1ff7b86be3 100644
--- a/packages/material-ui/src/Slider/Slider.test.js
+++ b/packages/material-ui/src/Slider/Slider.test.js
@@ -409,27 +409,41 @@ describe('', () => {
const marks = [{ value: 5 }, { value: 10 }, { value: 15 }];
const { container: container1 } = render(
- ,
+ ,
);
expect(getActives(container1)).to.deep.equal([true, true, false]);
const { container: container2 } = render(
- ,
+ ,
);
expect(getActives(container2)).to.deep.equal([false, true, false]);
});
it('uses closed intervals for the within check', () => {
const { container: container1 } = render(
- ,
+ ,
);
expect(getActives(container1)).to.deep.equal([true, true, true]);
const { container: container2 } = render(
- ,
+ ,
);
expect(getActives(container2)).to.deep.equal([true, true, false]);
});
+
+ it('should support inverted track', () => {
+ const marks = [{ value: 5 }, { value: 10 }, { value: 15 }];
+
+ const { container: container1 } = render(
+ ,
+ );
+ expect(getActives(container1)).to.deep.equal([false, false, true]);
+
+ const { container: container2 } = render(
+ ,
+ );
+ expect(getActives(container2)).to.deep.equal([true, false, true]);
+ });
});
it('should forward mouseDown', () => {