Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'get') while generating handlers #290

Open
jpkontreras opened this issue Oct 24, 2023 · 1 comment

Comments

@jpkontreras
Copy link

sandbox: https://stackblitz.com/edit/vitejs-vite-u5yovo?file=src%2Fmain.jsx,src%2Fmocks%2Fhandlers.js&terminal=dev

run the sandbox and check the console
im running msw 2.0 and this is happening while trying to generate the handlers

@morellodev
Copy link

Same issue here, seems like the lib tries to use the rest method from msw@^1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants