Commit 6d0bce9
authored
fix(tests): Make CLS web vital test less flaky (#4490)
Despite the fact that we're using a `toBeCloseTo()` check rather than a `toEqual()` check on the integration test for recording a "poor" CLS web vital, that test seems to have a habit of failing in CI, by ending up being not quite close enough to the desired value.
This fixes that by widening the window of tolerance just slightly, hopefully enough to prevent the flakiness.1 parent 3fe2218 commit 6d0bce9
File tree
1 file changed
+7
-1
lines changed- packages/integration-tests/suites/tracing/metrics/web-vitals-cls
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
41 | 47 | | |
42 | 48 | | |
0 commit comments