Fix tests

This commit is contained in:
Charles Bochet 2023-07-22 00:48:52 -07:00
parent 1ae5c703f5
commit 9deb46141c

View File

@ -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,
},
};