Skip to content

Commit

Permalink
Omit more stories from Chromatic snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Nov 9, 2023
1 parent d23832d commit 1c1ef68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,9 @@ const Template = ({ theme, accent }) => {
};

export const System = Template.bind({});
// System.parameters = { options: { showPanel: false } };
System.parameters = {
chromatic: { disableSnapshot: true },
};
System.args = {
theme: "system",
accent: "pink",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ MarginMobile.parameters = {
},
chromatic: {
viewports: [customViewports["small"].styles.width.replace(/px$/, "")],
disableSnapshot: true,
},
};
MarginMobile.args = {};

0 comments on commit 1c1ef68

Please sign in to comment.