You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: expect().resolves and expect().rejects now return promises
Previously, matchers under `expect().resolves` and `expect().rejects`
would return `undefined` instead of a promise. This caused issues when
trying to chain or await matcher results.
This fix adds a helper function `returnMatcherValue()` that checks if
async flags (.resolves/.rejects) are set and returns a resolved promise
instead of undefined. All matchers now use this helper.
Fixes#23420
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments