Skip to content

Commit

Permalink
💚 #312 Storyの書き方を最新のテンプレートに合わせて修正
Browse files Browse the repository at this point in the history
  • Loading branch information
keitakn committed Apr 3, 2024
1 parent 89596a4 commit 67ffd6e
Show file tree
Hide file tree
Showing 27 changed files with 64 additions and 62 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import type { Meta, StoryObj } from '@storybook/react';
import { CatButtonGroup } from './';

const meta: Meta<typeof CatButtonGroup> = {
const meta = {

Check warning on line 4 in src/components/Button/CatButtonGroup/CatButtonGroup.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Button/CatButtonGroup/CatButtonGroup.stories.tsx#L4

Added line #L4 was not covered by tests
component: CatButtonGroup,
argTypes: {
onClickFetchRandomCatButton: { action: 'FetchRandomCatButton Clicked' },
onClickFetchNewArrivalCatButton: {
action: 'FetchNewArrivalCatButton Clicked',
},
},
};
} satisfies Meta<typeof CatButtonGroup>;

Check warning on line 12 in src/components/Button/CatButtonGroup/CatButtonGroup.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Button/CatButtonGroup/CatButtonGroup.stories.tsx#L12

Added line #L12 was not covered by tests

export default meta;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Meta, StoryObj } from '@storybook/react';
import { CatFetchButton } from '.';

const meta: Meta<typeof CatFetchButton> = {
const meta = {

Check warning on line 4 in src/components/Button/CatFetchButton/CatFetchButton.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Button/CatFetchButton/CatFetchButton.stories.tsx#L4

Added line #L4 was not covered by tests
component: CatFetchButton,
};
} satisfies Meta<typeof CatFetchButton>;

Check warning on line 6 in src/components/Button/CatFetchButton/CatFetchButton.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Button/CatFetchButton/CatFetchButton.stories.tsx#L6

Added line #L6 was not covered by tests

export default meta;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { Meta, StoryObj } from '@storybook/react';
import { CatRandomCopyButton } from '.';

const meta: Meta<typeof CatRandomCopyButton> = {
const meta = {

Check warning on line 4 in src/components/Button/CatRandomCopyButton/CatRandomCopyButton.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Button/CatRandomCopyButton/CatRandomCopyButton.stories.tsx#L4

Added line #L4 was not covered by tests
component: CatRandomCopyButton,
argTypes: { callback: { action: 'callback' } },
};
} satisfies Meta<typeof CatRandomCopyButton>;

Check warning on line 7 in src/components/Button/CatRandomCopyButton/CatRandomCopyButton.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Button/CatRandomCopyButton/CatRandomCopyButton.stories.tsx#L7

Added line #L7 was not covered by tests

export default meta;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Meta, StoryObj } from '@storybook/react';
import { GitHubLoginButton } from './GitHubLoginButton';

const meta: Meta<typeof GitHubLoginButton> = {
const meta = {

Check warning on line 4 in src/components/Button/GitHubLoginButton/GitHubLoginButton.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Button/GitHubLoginButton/GitHubLoginButton.stories.tsx#L4

Added line #L4 was not covered by tests
component: GitHubLoginButton,
};
} satisfies Meta<typeof GitHubLoginButton>;

Check warning on line 6 in src/components/Button/GitHubLoginButton/GitHubLoginButton.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Button/GitHubLoginButton/GitHubLoginButton.stories.tsx#L6

Added line #L6 was not covered by tests

export default meta;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Meta, StoryObj } from '@storybook/react';
import { UploadCatButton } from './index';

const meta: Meta<typeof UploadCatButton> = {
const meta = {

Check warning on line 4 in src/components/Button/UploadCatButton/UploadCatButton.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Button/UploadCatButton/UploadCatButton.stories.tsx#L4

Added line #L4 was not covered by tests
component: UploadCatButton,
};
} satisfies Meta<typeof UploadCatButton>;

Check warning on line 6 in src/components/Button/UploadCatButton/UploadCatButton.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Button/UploadCatButton/UploadCatButton.stories.tsx#L6

Added line #L6 was not covered by tests

export default meta;

Expand Down
9 changes: 5 additions & 4 deletions src/components/CatImages/InternalServerErrorImage.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import type { StoryObj } from '@storybook/react';
import type { Meta, StoryObj } from '@storybook/react';
import { InternalServerErrorImage } from '.';

// eslint-disable-next-line import/no-anonymous-default-export
export default {
const meta = {

Check warning on line 4 in src/components/CatImages/InternalServerErrorImage.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/CatImages/InternalServerErrorImage.stories.tsx#L4

Added line #L4 was not covered by tests
component: InternalServerErrorImage,
};
} satisfies Meta<typeof InternalServerErrorImage>;

export default meta;

Check warning on line 8 in src/components/CatImages/InternalServerErrorImage.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/CatImages/InternalServerErrorImage.stories.tsx#L6-L8

Added lines #L6 - L8 were not covered by tests

type Story = StoryObj<typeof InternalServerErrorImage>;

Expand Down
5 changes: 2 additions & 3 deletions src/components/CatImages/NotFoundImage.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import type { StoryObj } from '@storybook/react';
import type { Meta, StoryObj } from '@storybook/react';
import { NotFoundImage } from '.';

// eslint-disable-next-line import/no-anonymous-default-export
export default {
component: NotFoundImage,
};
} satisfies Meta<typeof NotFoundImage>;

Check warning on line 6 in src/components/CatImages/NotFoundImage.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/CatImages/NotFoundImage.stories.tsx#L6

Added line #L6 was not covered by tests

type Story = StoryObj<typeof NotFoundImage>;

Expand Down
9 changes: 5 additions & 4 deletions src/components/CatImages/ServiceUnavailableImage.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import type { StoryObj } from '@storybook/react';
import type { Meta, StoryObj } from '@storybook/react';
import { ServiceUnavailableImage } from '.';

// eslint-disable-next-line import/no-anonymous-default-export
export default {
const meta = {

Check warning on line 4 in src/components/CatImages/ServiceUnavailableImage.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/CatImages/ServiceUnavailableImage.stories.tsx#L4

Added line #L4 was not covered by tests
component: ServiceUnavailableImage,
};
} satisfies Meta<typeof ServiceUnavailableImage>;

export default meta;

Check warning on line 9 in src/components/CatImages/ServiceUnavailableImage.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/CatImages/ServiceUnavailableImage.stories.tsx#L6-L9

Added lines #L6 - L9 were not covered by tests
type Story = StoryObj<typeof ServiceUnavailableImage>;

Expand Down
4 changes: 2 additions & 2 deletions src/components/ErrorContent/ErrorContent.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import {
import type { Meta, StoryObj } from '@storybook/react';
import { ErrorContent } from './';

const meta: Meta<typeof ErrorContent> = {
const meta = {
component: ErrorContent,
};
} satisfies Meta<typeof ErrorContent>;

Check warning on line 11 in src/components/ErrorContent/ErrorContent.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/ErrorContent/ErrorContent.stories.tsx#L11

Added line #L11 was not covered by tests

export default meta;

Expand Down
4 changes: 2 additions & 2 deletions src/components/ErrorContent/RetryButton.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { Meta, StoryObj } from '@storybook/react';
import { RetryButton } from './RetryButton';

const meta: Meta<typeof RetryButton> = {
const meta = {

Check warning on line 4 in src/components/ErrorContent/RetryButton.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/ErrorContent/RetryButton.stories.tsx#L4

Added line #L4 was not covered by tests
component: RetryButton,
argTypes: {
onClick: { action: 'RetryButton clicked!' },
},
};
} satisfies Meta<typeof RetryButton>;

Check warning on line 9 in src/components/ErrorContent/RetryButton.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/ErrorContent/RetryButton.stories.tsx#L9

Added line #L9 was not covered by tests

export default meta;

Expand Down
4 changes: 2 additions & 2 deletions src/components/Footer/Footer.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Meta, StoryObj } from '@storybook/react';
import { Footer } from './';

const meta: Meta<typeof Footer> = {
const meta = {

Check warning on line 4 in src/components/Footer/Footer.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Footer/Footer.stories.tsx#L4

Added line #L4 was not covered by tests
component: Footer,
};
} satisfies Meta<typeof Footer>;

Check warning on line 6 in src/components/Footer/Footer.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Footer/Footer.stories.tsx#L6

Added line #L6 was not covered by tests

export default meta;

Expand Down
4 changes: 2 additions & 2 deletions src/components/GlobalMenu/GlobalMenu.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Meta, StoryObj } from '@storybook/react';
import { GlobalMenu } from './';

const meta: Meta<typeof GlobalMenu> = {
const meta = {

Check warning on line 4 in src/components/GlobalMenu/GlobalMenu.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/GlobalMenu/GlobalMenu.stories.tsx#L4

Added line #L4 was not covered by tests
component: GlobalMenu,
};
} satisfies Meta<typeof GlobalMenu>;

Check warning on line 6 in src/components/GlobalMenu/GlobalMenu.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/GlobalMenu/GlobalMenu.stories.tsx#L6

Added line #L6 was not covered by tests

export default meta;

Expand Down
4 changes: 2 additions & 2 deletions src/components/Header/Header.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Meta, StoryObj } from '@storybook/react';
import { Header } from './';

const meta: Meta<typeof Header> = {
const meta = {

Check warning on line 4 in src/components/Header/Header.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Header/Header.stories.tsx#L4

Added line #L4 was not covered by tests
component: Header,
};
} satisfies Meta<typeof Header>;

Check warning on line 6 in src/components/Header/Header.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Header/Header.stories.tsx#L6

Added line #L6 was not covered by tests

export default meta;

Expand Down
4 changes: 2 additions & 2 deletions src/components/Icon/LibraryBooks/LibraryBooks.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Meta, StoryObj } from '@storybook/react';
import { LibraryBooks } from './';

const meta: Meta<typeof LibraryBooks> = {
const meta = {

Check warning on line 4 in src/components/Icon/LibraryBooks/LibraryBooks.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Icon/LibraryBooks/LibraryBooks.stories.tsx#L4

Added line #L4 was not covered by tests
component: LibraryBooks,
};
} satisfies Meta<typeof LibraryBooks>;

Check warning on line 6 in src/components/Icon/LibraryBooks/LibraryBooks.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Icon/LibraryBooks/LibraryBooks.stories.tsx#L6

Added line #L6 was not covered by tests

export default meta;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import type { Meta, StoryObj } from '@storybook/react';
import type { FC } from 'react';
import { ResponsiveLayout } from './';

const meta: Meta<typeof ResponsiveLayout> = {
const meta = {

Check warning on line 6 in src/components/Layouts/ResponsiveLayout/ResponsiveLayout.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Layouts/ResponsiveLayout/ResponsiveLayout.stories.tsx#L6

Added line #L6 was not covered by tests
component: ResponsiveLayout,
};
} satisfies Meta<typeof ResponsiveLayout>;

Check warning on line 8 in src/components/Layouts/ResponsiveLayout/ResponsiveLayout.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Layouts/ResponsiveLayout/ResponsiveLayout.stories.tsx#L8

Added line #L8 was not covered by tests

export default meta;

Expand Down
4 changes: 2 additions & 2 deletions src/components/LgtmImages/LgtmImages.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { type LgtmImage } from '@/features';
import type { Meta, StoryObj } from '@storybook/react';
import { LgtmImages } from './';

const meta: Meta<typeof LgtmImages> = {
const meta = {

Check warning on line 5 in src/components/LgtmImages/LgtmImages.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/LgtmImages/LgtmImages.stories.tsx#L5

Added line #L5 was not covered by tests
component: LgtmImages,
};
} satisfies Meta<typeof LgtmImages>;

Check warning on line 7 in src/components/LgtmImages/LgtmImages.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/LgtmImages/LgtmImages.stories.tsx#L7

Added line #L7 was not covered by tests

export default meta;

Expand Down
9 changes: 5 additions & 4 deletions src/components/MarkdownContents/MarkdownContents.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import type { StoryObj } from '@storybook/react';
import type { Meta, StoryObj } from '@storybook/react';
import { MarkdownContents } from './.';

// eslint-disable-next-line import/no-anonymous-default-export
export default {
const meta = {

Check warning on line 4 in src/components/MarkdownContents/MarkdownContents.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/MarkdownContents/MarkdownContents.stories.tsx#L4

Added line #L4 was not covered by tests
component: MarkdownContents,
};
} satisfies Meta<typeof MarkdownContents>;

export default meta;

Check warning on line 8 in src/components/MarkdownContents/MarkdownContents.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/MarkdownContents/MarkdownContents.stories.tsx#L6-L8

Added lines #L6 - L8 were not covered by tests

type Story = StoryObj<typeof MarkdownContents>;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from '@storybook/react';
import { MarkdownContentsWrapper } from './MarkdownContentsWrapper';
import { MarkdownContentsWrapper } from './';

Check warning on line 2 in src/components/MarkdownContentsWrapper/MarkdownContentsWrapper.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/MarkdownContentsWrapper/MarkdownContentsWrapper.stories.tsx#L2

Added line #L2 was not covered by tests

const privacyPolicyJa = `
# プライバシーポリシー
Expand Down Expand Up @@ -191,9 +191,9 @@ User shall be responsible for registering, changing, and managing the informatio
You shall be responsible for any damages caused by unauthorized use of your GitHub account, and the Management Team shall not be liable for any such damages.
`;

const meta: Meta<typeof MarkdownContentsWrapper> = {
const meta = {

Check warning on line 194 in src/components/MarkdownContentsWrapper/MarkdownContentsWrapper.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/MarkdownContentsWrapper/MarkdownContentsWrapper.stories.tsx#L194

Added line #L194 was not covered by tests
component: MarkdownContentsWrapper,
};
} satisfies Meta<typeof MarkdownContentsWrapper>;

Check warning on line 196 in src/components/MarkdownContentsWrapper/MarkdownContentsWrapper.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/MarkdownContentsWrapper/MarkdownContentsWrapper.stories.tsx#L196

Added line #L196 was not covered by tests

export default meta;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Meta, StoryObj } from '@storybook/react';
import { MarkdownPageTitle } from './';

const meta: Meta<typeof MarkdownPageTitle> = {
const meta = {

Check warning on line 4 in src/components/MarkdownPageTitle/MarkdownPageTitle.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/MarkdownPageTitle/MarkdownPageTitle.stories.tsx#L4

Added line #L4 was not covered by tests
component: MarkdownPageTitle,
};
} satisfies Meta<typeof MarkdownPageTitle>;

Check warning on line 6 in src/components/MarkdownPageTitle/MarkdownPageTitle.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/MarkdownPageTitle/MarkdownPageTitle.stories.tsx#L6

Added line #L6 was not covered by tests

export default meta;

Expand Down
4 changes: 2 additions & 2 deletions src/components/Upload/UploadForm/UploadForm.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { sleep } from '@/utils';
import type { Meta, StoryObj } from '@storybook/react';
import { UploadForm } from '.';

const meta: Meta<typeof UploadForm> = {
const meta = {

Check warning on line 12 in src/components/Upload/UploadForm/UploadForm.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Upload/UploadForm/UploadForm.stories.tsx#L12

Added line #L12 was not covered by tests
component: UploadForm,
argTypes: {
uploadCallback: { action: 'uploadCallback executed' },
Expand All @@ -18,7 +18,7 @@ const meta: Meta<typeof UploadForm> = {
action: 'MarkdownSourceCopyButton Clicked',
},
},
};
} satisfies Meta<typeof UploadForm>;

Check warning on line 21 in src/components/Upload/UploadForm/UploadForm.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Upload/UploadForm/UploadForm.stories.tsx#L21

Added line #L21 was not covered by tests

export default meta;

Expand Down
4 changes: 2 additions & 2 deletions src/components/Upload/UploadModal/UploadModal.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Meta, StoryObj } from '@storybook/react';
import { UploadModal } from './';

const meta: Meta<typeof UploadModal> = {
const meta = {

Check warning on line 4 in src/components/Upload/UploadModal/UploadModal.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Upload/UploadModal/UploadModal.stories.tsx#L4

Added line #L4 was not covered by tests
component: UploadModal,
};
} satisfies Meta<typeof UploadModal>;

Check warning on line 6 in src/components/Upload/UploadModal/UploadModal.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Upload/UploadModal/UploadModal.stories.tsx#L6

Added line #L6 was not covered by tests

export default meta;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Meta, StoryObj } from '@storybook/react';
import { UploadProgressBar } from '.';

const meta: Meta<typeof UploadProgressBar> = {
const meta = {

Check warning on line 4 in src/components/Upload/UploadProgressBar/UploadProgressBar.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Upload/UploadProgressBar/UploadProgressBar.stories.tsx#L4

Added line #L4 was not covered by tests
component: UploadProgressBar,
};
} satisfies Meta<typeof UploadProgressBar>;

Check warning on line 6 in src/components/Upload/UploadProgressBar/UploadProgressBar.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Upload/UploadProgressBar/UploadProgressBar.stories.tsx#L6

Added line #L6 was not covered by tests

export default meta;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Meta, StoryObj } from '@storybook/react';
import { UploadTitleArea } from './index';

const meta: Meta<typeof UploadTitleArea> = {
const meta = {

Check warning on line 4 in src/components/Upload/UploadTitleArea/UploadTitleArea.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Upload/UploadTitleArea/UploadTitleArea.stories.tsx#L4

Added line #L4 was not covered by tests
component: UploadTitleArea,
};
} satisfies Meta<typeof UploadTitleArea>;

Check warning on line 6 in src/components/Upload/UploadTitleArea/UploadTitleArea.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/Upload/UploadTitleArea/UploadTitleArea.stories.tsx#L6

Added line #L6 was not covered by tests

export default meta;

Expand Down
4 changes: 2 additions & 2 deletions src/templates/ErrorTemplate/ErrorTemplate.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { createIncludeLanguageAppPath } from '@/features';
import type { Meta, StoryObj } from '@storybook/react';
import { ErrorTemplate } from './';

const meta: Meta<typeof ErrorTemplate> = {
const meta = {

Check warning on line 6 in src/templates/ErrorTemplate/ErrorTemplate.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/templates/ErrorTemplate/ErrorTemplate.stories.tsx#L6

Added line #L6 was not covered by tests
component: ErrorTemplate,
};
} satisfies Meta<typeof ErrorTemplate>;

Check warning on line 8 in src/templates/ErrorTemplate/ErrorTemplate.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/templates/ErrorTemplate/ErrorTemplate.stories.tsx#L8

Added line #L8 was not covered by tests

export default meta;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ User shall be responsible for registering, changing, and managing the informatio
You shall be responsible for any damages caused by unauthorized use of your GitHub account, and the Management Team shall not be liable for any such damages.
`;

const meta: Meta<typeof TermsOrPrivacyTemplate> = {
const meta = {

Check warning on line 196 in src/templates/TermsOrPrivacyTemplate/TermsOrPrivacyTemplate.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/templates/TermsOrPrivacyTemplate/TermsOrPrivacyTemplate.stories.tsx#L196

Added line #L196 was not covered by tests
component: TermsOrPrivacyTemplate,
};
} satisfies Meta<typeof TermsOrPrivacyTemplate>;

Check warning on line 198 in src/templates/TermsOrPrivacyTemplate/TermsOrPrivacyTemplate.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/templates/TermsOrPrivacyTemplate/TermsOrPrivacyTemplate.stories.tsx#L198

Added line #L198 was not covered by tests

export default meta;

Expand Down
4 changes: 2 additions & 2 deletions src/templates/TopTemplate/TopTemplate.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import type { Meta, StoryObj } from '@storybook/react';
import { http } from 'msw';
import { TopTemplate } from './.';

const meta: Meta<typeof TopTemplate> = {
const meta = {

Check warning on line 13 in src/templates/TopTemplate/TopTemplate.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/templates/TopTemplate/TopTemplate.stories.tsx#L13

Added line #L13 was not covered by tests
component: TopTemplate,
};
} satisfies Meta<typeof TopTemplate>;

Check warning on line 15 in src/templates/TopTemplate/TopTemplate.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/templates/TopTemplate/TopTemplate.stories.tsx#L15

Added line #L15 was not covered by tests

export default meta;

Expand Down
4 changes: 2 additions & 2 deletions src/templates/UploadTemplate/UploadTemplate.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import type { Meta, StoryObj } from '@storybook/react';
import { http } from 'msw';
import { UploadTemplate } from '.';

const meta: Meta<typeof UploadTemplate> = {
const meta = {

Check warning on line 8 in src/templates/UploadTemplate/UploadTemplate.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/templates/UploadTemplate/UploadTemplate.stories.tsx#L8

Added line #L8 was not covered by tests
component: UploadTemplate,
};
} satisfies Meta<typeof UploadTemplate>;

Check warning on line 10 in src/templates/UploadTemplate/UploadTemplate.stories.tsx

View check run for this annotation

Codecov / codecov/patch

src/templates/UploadTemplate/UploadTemplate.stories.tsx#L10

Added line #L10 was not covered by tests

export default meta;

Expand Down

0 comments on commit 67ffd6e

Please sign in to comment.