mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-28 23:03:41 +03:00
Fix tests
This commit is contained in:
parent
1ae5c703f5
commit
9deb46141c
@ -1,31 +0,0 @@
|
||||
import type { Meta, StoryObj } from '@storybook/react';
|
||||
|
||||
import { AuthModal } from '@/auth/components/Modal';
|
||||
import { AuthLayout } from '@/ui/layout/components/AuthLayout';
|
||||
import { graphqlMocks } from '~/testing/graphqlMocks';
|
||||
import { getRenderWrapperForPage } from '~/testing/renderWrappers';
|
||||
|
||||
import { SignInUp } from '../SignInUp';
|
||||
|
||||
const meta: Meta<typeof SignInUp> = {
|
||||
title: 'Pages/Auth/SignInUp',
|
||||
component: SignInUp,
|
||||
};
|
||||
|
||||
export default meta;
|
||||
|
||||
export type Story = StoryObj<typeof SignInUp>;
|
||||
|
||||
export const Default: Story = {
|
||||
render: getRenderWrapperForPage(
|
||||
<AuthLayout>
|
||||
<AuthModal>
|
||||
<SignInUp />
|
||||
</AuthModal>
|
||||
</AuthLayout>,
|
||||
'/',
|
||||
),
|
||||
parameters: {
|
||||
msw: graphqlMocks,
|
||||
},
|
||||
};
|
Loading…
Reference in New Issue
Block a user