Repository navigation
Commit b18abae
test(node): Unflake captureMessage with_level test (#25358)
The `with_level` scenario sends six `captureMessage` calls back to back,
and the test expected their events to arrive in call order. Events are
prepared asynchronously before being sent, so the SDK doesn't guarantee
that order, and the test occasionally failed with `info_message`
arriving before `debug_message`. The test now uses `.unordered()`, so it
still asserts all six messages with their levels but no longer depends
on arrival order.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 6dd949c commit b18abae
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
0 commit comments