Fix chromatic tests (#12551)

This commit is contained in:
Baptiste Devessier
2025-06-12 10:17:23 +02:00
committed by GitHub
parent ecbc116f8b
commit 10b97d56d4
3 changed files with 22 additions and 2 deletions

View File

@ -1,14 +1,15 @@
import { Meta, StoryObj } from '@storybook/react';
import { TaskList } from '@/activities/tasks/components/TaskList';
import { ComponentDecorator } from 'twenty-ui/testing';
import { ContextStoreDecorator } from '~/testing/decorators/ContextStoreDecorator';
import { I18nFrontDecorator } from '~/testing/decorators/I18nFrontDecorator';
import { MemoryRouterDecorator } from '~/testing/decorators/MemoryRouterDecorator';
import { ObjectMetadataItemsDecorator } from '~/testing/decorators/ObjectMetadataItemsDecorator';
import { RightDrawerDecorator } from '~/testing/decorators/RightDrawerDecorator';
import { SnackBarDecorator } from '~/testing/decorators/SnackBarDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { mockedTasks } from '~/testing/mock-data/tasks';
import { ComponentDecorator } from 'twenty-ui/testing';
const meta: Meta<typeof TaskList> = {
title: 'Modules/Activity/TaskList',
@ -20,6 +21,7 @@ const meta: Meta<typeof TaskList> = {
MemoryRouterDecorator,
ObjectMetadataItemsDecorator,
SnackBarDecorator,
RightDrawerDecorator,
],
args: {
title: 'Tasks',