msw-storybook-addon icon indicating copy to clipboard operation
msw-storybook-addon copied to clipboard

Mock API requests in Storybook with Mock Service Worker.

Results 37 msw-storybook-addon issues
Sort by recently updated
recently updated
newest added

Hi there! Thanks for the add-on! I'm running into a problem with a story that demos a loading state: 1. The Loading story applies a handler with `ctx.delay('infinite')`. This story...

bug

Hi, I want to mock hooks via react-query, and referred the demos in this package https://github.com/mswjs/msw-storybook-addon/tree/main/packages/docs/src/demos/react-query for implementation. However, I found the demos are not working either on my side,...

Hello! I'm stoked to see this library growing so much. At work we still have a custom setup for Storybook and MSW because we're using `args` to result in dynamic...

I have msw 0.38.2 in my project. I tried to update this addon and npm failed with this error: ```bash npm ERR! Found: [email protected] npm ERR! node_modules/msw npm ERR! dev...

Versions: "msw": "0.27.2", "msw-storybook-addon": "1.1.0", I often get an error which forces me to reload storybook page. ![image](https://user-images.githubusercontent.com/48030070/122422309-55196c80-cf8d-11eb-9e7c-af1cc32c58dd.png) I suppose that MSW intercepts one of HMR requests and fails. At...

bug
needs reproduction

instead of 16.14. For consistency with other workflows using node. Relates to https://github.com/mswjs/msw/issues/1304

I'm not certain if this is actually related to #63, but when I have multiple stories displayed on the Docs page with different returns on the same handler endpoint/method, only...

Hello, we have a storybook running in a subdirectories (for PRs and also one stable version). Msw was not working out of the box for this setup, but then I...

I'm attempting to use msw-storybook-addon with storybook-builder-vite, and running into the following error: Any suggestions on how to resolve this? I'll aim to get a code sandbox up if I...

needs reproduction

I really wanted to use MSW to reduce flakiness around placeholder images that would show up in chromatic snapshot tests. I suspected that a loader would help, and saw this...