Improve test coverage and refactor storybook arch (#723)
* Improve test coverage and refactor storybook arch * Fix coverage * Fix tests * Fix lint * Fix lint
This commit is contained in:
@ -2,7 +2,6 @@ import type { Meta, StoryObj } from '@storybook/react';
|
||||
|
||||
import { App } from '~/App';
|
||||
import { graphqlMocks } from '~/testing/graphqlMocks';
|
||||
import { mockedUserJWT } from '~/testing/mock-data/jwt';
|
||||
|
||||
import { render } from './shared';
|
||||
|
||||
@ -16,14 +15,6 @@ export type Story = StoryObj<typeof App>;
|
||||
|
||||
export const Default: Story = {
|
||||
render,
|
||||
loaders: [
|
||||
async () => ({
|
||||
accessTokenStored: window.localStorage.setItem(
|
||||
'accessToken',
|
||||
mockedUserJWT,
|
||||
),
|
||||
}),
|
||||
],
|
||||
parameters: {
|
||||
msw: graphqlMocks,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user