Repository navigation
Commit d8e27c7
committed
test(ui): bind managed-image polling to its test context
Trace the full-file failure to overlapping completion of the narrow-image
case: Vitest clears its ambient current-test slot while the tiny-image
case awaits hover, so global expect.poll loses its owner. The reduced
pair fails before this fix while isolation and serial execution pass.
Use context.expect for both polls, preserving every assertion, timeout,
and concurrent scheduling. The image test originated in #131811; thanks
@vyctorbrzezowski for the managed-image coverage.1 parent bb51e90 commit d8e27c7
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2277 | 2277 | | |
2278 | 2278 | | |
2279 | 2279 | | |
2280 | | - | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
2281 | 2283 | | |
2282 | 2284 | | |
2283 | 2285 | | |
| |||
2317 | 2319 | | |
2318 | 2320 | | |
2319 | 2321 | | |
2320 | | - | |
| 2322 | + | |
2321 | 2323 | | |
2322 | 2324 | | |
2323 | 2325 | | |
| |||
2328 | 2330 | | |
2329 | 2331 | | |
2330 | 2332 | | |
2331 | | - | |
| 2333 | + | |
2332 | 2334 | | |
2333 | 2335 | | |
2334 | 2336 | | |
| |||
0 commit comments