Fix calendar broken tests
This commit is contained in:
@ -2,13 +2,16 @@ import { Meta, StoryObj } from '@storybook/react';
|
||||
|
||||
import { Calendar } from '@/activities/calendar/components/Calendar';
|
||||
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
|
||||
import { SnackBarDecorator } from '~/testing/decorators/SnackBarDecorator';
|
||||
import { graphqlMocks } from '~/testing/graphqlMocks';
|
||||
|
||||
const meta: Meta<typeof Calendar> = {
|
||||
title: 'Modules/Activities/Calendar/Calendar',
|
||||
component: Calendar,
|
||||
decorators: [ComponentDecorator],
|
||||
decorators: [ComponentDecorator, SnackBarDecorator],
|
||||
parameters: {
|
||||
container: { width: 728 },
|
||||
msw: graphqlMocks,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user