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
Mocking for the development and unit tests works fine. However, for storybook, it does not work. I am seeing a message that Mocking is enabled in console.
I've linked a related issue in the msw-storybook-addon (which you should be using for MSW + Storybook integration). It seems like a bundler issue but it may require more investigation to be precise.
Describe the bug
I am trying to use mswjs for web component built with lit-element.
I already followed the example mentioned here - https://github.com/mswjs/examples/tree/master/examples/with-storybook
Mocking for the development and unit tests works fine. However, for storybook, it does not work. I am seeing a message that Mocking is enabled in console.
Here is my example repo - https://github.com/zaidchauhan/lit-with-mswjs
Environment
msw: 0.28.0
nodejs: 12.17.0
npm: 6.14.8
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should work
Screenshots
The text was updated successfully, but these errors were encountered: