Commit ca89e38
fix(test): await two event loop ticks for unhandledrejection in Deno
Deno's test runner requires two event loop ticks before dispatching
unhandledrejection events. Add an explicit second `await delay(0)` with
a clarifying comment to make this requirement visible at the call site.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3d086ac commit ca89e38
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
150 | 155 | | |
151 | 156 | | |
152 | 157 | | |
| |||
0 commit comments