Add Auth Index page (#323)

This commit is contained in:
Charles Bochet
2023-06-18 00:18:13 +02:00
committed by GitHub
parent 49462c69a2
commit ffa8318e2e
9 changed files with 144 additions and 12 deletions

View File

@ -0,0 +1,22 @@
import type { Meta, StoryObj } from '@storybook/react';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { getRenderWrapperForPage } from '~/testing/renderWrappers';
import { Index } from '../Index';
const meta: Meta<typeof Index> = {
title: 'Pages/Auth/Index',
component: Index,
};
export default meta;
export type Story = StoryObj<typeof Index>;
export const Default: Story = {
render: getRenderWrapperForPage(<Index />, '/auth'),
parameters: {
msw: graphqlMocks,
},
};