mirror of
https://github.com/grafana/grafana.git
synced 2026-08-19 01:34:54 -05:00
Storybook: Bypass unmatched msw requests (#107395)
This commit is contained in:
@@ -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()],
|
||||
|
||||
Reference in New Issue
Block a user