Skip to content

Commit

Permalink
test: add missing chromatic modes
Browse files Browse the repository at this point in the history
  • Loading branch information
codeincontext committed Jan 7, 2025
1 parent 39489b2 commit ccf3219
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { Meta, StoryObj } from "@storybook/react";

import { ChatModerationProvider } from "@/components/ContextProviders/ChatModerationContext";
import { chromaticParams } from "@/storybook/chromatic";

import { ChatMessage } from "./";

Expand All @@ -20,6 +21,9 @@ const meta = {
persistedModerations: [],
ailaStreamingStatus: "Idle",
},
parameters: {
...chromaticParams(["mobile", "desktop"]),
},
} satisfies Meta<typeof ChatMessage>;

export default meta;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
import type { Meta, StoryObj } from "@storybook/react";

import { chromaticParams } from "@/storybook/chromatic";

import TermsContent from "./TermsContent";

const meta = {
title: "Components/Onboarding/TermsContent",
component: TermsContent,
parameters: {
...chromaticParams(["mobile", "desktop"]),
},
} satisfies Meta<typeof TermsContent>;

export default meta;
Expand Down

0 comments on commit ccf3219

Please sign in to comment.