Storybook: Bypass unmatched msw requests (#107395)

This commit is contained in:
Gilles De Mey
2025-06-30 14:29:14 +00:00
committed by GitHub
parent c1a5e6bbf1
commit a7ff16bbbe
+3 -1
View File
@@ -49,7 +49,9 @@ if (process.env.NODE_ENV === 'development') {
* See https://github.com/mswjs/msw-storybook-addon#configuring-msw
* to learn how to customize it
*/
initialize();
initialize({
onUnhandledRequest: 'bypass',
});
const preview: Preview = {
decorators: [withTheme(handleThemeChange), withTimeZone()],