Skip to content

Commit 4ddf216

Browse files
committed
disable Chromatic snapshots for story that fails on purpose
1 parent 947dde3 commit 4ddf216

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/stories/Tags.stories.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
play={() => {
2626
throw new Error('This error is on purpose');
2727
}}
28+
parameters={{
29+
chromatic: { disableSnapshot: true },
30+
}}
2831
>
2932
This story fails interaction testing, but should not run in Vitest because it has the
3033
<code>"!test"</code> tag.

0 commit comments

Comments
 (0)