Commit 0132afc
test(user-latex): deflake mocked katex import race
A single setTimeout(0) flush loses to the mocked dynamic import under
full-suite load, failing the assertion early and leaking the late
continuation into the following test. Poll with vi.waitFor instead.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 6e3475a commit 0132afc
1 file changed
Lines changed: 5 additions & 2 deletions
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
0 commit comments