Add Auth Index page (#323)
This commit is contained in:
22
front/src/pages/auth/__stories__/Index.stories.tsx
Normal file
22
front/src/pages/auth/__stories__/Index.stories.tsx
Normal 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,
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user