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
I looked into it and indeed uncovered two issues in MSW that caused this. Addressed both in #2108. Also added missing integration tests for these cases.
kettanaito
changed the title
bug: async generator doesn't work
"Cannot read properties of undefined (reading 'get')" when using generators/async generators as resolvers
Mar 25, 2024
Prerequisites
Environment check
msw
versionNode.js version
20.11
Reproduction repository
https://github.com/juliusmarminge/msw-async-generator
Reproduction steps
bun i && bun run test
Current behavior
Expected behavior
According to the docs here: https://mswjs.io/docs/recipes/polling async generator should be supported
The text was updated successfully, but these errors were encountered: