From a7ff16bbbe653eb70ff514f42031e116d38a3109 Mon Sep 17 00:00:00 2001 From: Gilles De Mey Date: Mon, 30 Jun 2025 16:29:14 +0200 Subject: [PATCH] Storybook: Bypass unmatched msw requests (#107395) --- packages/grafana-ui/.storybook/preview.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/grafana-ui/.storybook/preview.ts b/packages/grafana-ui/.storybook/preview.ts index f66b4b8422a..bff4cd763b7 100644 --- a/packages/grafana-ui/.storybook/preview.ts +++ b/packages/grafana-ui/.storybook/preview.ts @@ -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()],