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
When importing msw, i.e. Mock Service Worker, version 2, for example ^2.10.2, and running vitest inside a webcontainer or in StackBlitz, I get the following error:
Based on the error logs above, it appears that somewhere in this file from msw a call to a function or to instantiate an object, maybe BroadcastChannel or WebSocketHandler is being blocked by webcontainers. As a result, some variable is undefined.