Skip to content

Commit 3850a57

Browse files
committed
fixup! test(material/slider): Ensure tick marks are rendered correctly
1 parent b0bf155 commit 3850a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/slider/slider.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1592,7 +1592,7 @@ describe('MatSlider', () => {
15921592
// spaces between the 101 ticks. So the math is:
15931593
// (300 - 6) / 100 = 2.94
15941594
const spacing = 2.94;
1595-
const delta = 0.0001; // Floating point imprecision
1595+
const delta = 0.1; // Floating point imprecision
15961596

15971597
let x = 18; // Where the first tick happens to start at.
15981598

0 commit comments

Comments
 (0)