Skip to content

Commit e0ee43a

Browse files
authored
chore(dep): add msw, disable unused queries
chore(dep): add msw, disable unused queries
2 parents 42aec1d + c8d24c8 commit e0ee43a

File tree

7 files changed

+653
-20
lines changed

7 files changed

+653
-20
lines changed

.storybook/preview.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ import '@patternfly/patternfly/patternfly-addons.css';
44
import { MemoryRouter } from 'react-router';
55
import { AppLayout } from '../src/app/AppLayout/AppLayout';
66
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
7+
import { initialize, mswDecorator } from 'msw-storybook-addon';
8+
9+
initialize();
710

811
const preview = {
912
decorators: [
13+
mswDecorator,
1014
(Story) => {
1115
const queryClient = new QueryClient();
1216
return (

0 commit comments

Comments
 (0)