You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a recurring issue where broken tests errors out without generating appropriate snapshots due to reasons unrelated to the snapshot itself, but issues with how I have written the story. The story typically works in storybook, and is shown in the catalogue as expected, but storyshots fails to generate snaphots of the component (and sometimes even subsequent components), but the unit-test still passes.
Is there a way for me to configure either storyshot, storybook or jest itself to fail the unit-test in such cases?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a recurring issue where broken tests errors out without generating appropriate snapshots due to reasons unrelated to the snapshot itself, but issues with how I have written the story. The story typically works in storybook, and is shown in the catalogue as expected, but storyshots fails to generate snaphots of the component (and sometimes even subsequent components), but the unit-test still passes.
Is there a way for me to configure either storyshot, storybook or jest itself to fail the unit-test in such cases?
Possibly related issues:
Beta Was this translation helpful? Give feedback.
All reactions