Skip to content

Commit

Permalink
chore: disable specific stories for chromatic
Browse files Browse the repository at this point in the history
  • Loading branch information
adamborowski committed Jan 9, 2023
1 parent 5d4db74 commit 41423dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import { Repository } from "../../types";
import { repositorySearchClient } from "./repositorySearchClient";
import { ComponentStory } from "@storybook/react";

export default {};
export default {
parameters: {
chromatic: { disable: true },
},
};

const Template: ComponentStory<FC<{ query: string }>> = ({ query }) => {
const [state, setState] = useState<PromiseState<Repository[]>>({
Expand Down
6 changes: 5 additions & 1 deletion src/features/repositories/api/github-rest/demo.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import { Repository } from "../../types";
import { repositorySearchClient } from "./repositorySearchClient";
import { ComponentStory } from "@storybook/react";

export default {};
export default {
parameters: {
chromatic: { disable: true },
},
};

const Template: ComponentStory<FC<{ query: string }>> = ({ query }) => {
const [state, setState] = useState<PromiseState<Repository[]>>({
Expand Down

0 comments on commit 41423dd

Please sign in to comment.