Commit eaca6b6
committed
fix(test): use toBeCloseTo for floating-point comparison in rate-limiter test
- Fixes Windows CI failure where utilizationPercent was 19.98 instead of 20
- Floating-point precision differences across platforms require tolerance
- Use toBeCloseTo(20, 1) to allow 1 decimal place tolerance1 parent 65133dc commit eaca6b6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments