mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
Ignore the stacktrace in Chromatic snapshots
This commit is contained in:
parent
c36d10ce1a
commit
9be5035d79
@ -133,7 +133,7 @@ export const InteractionsPanel: React.FC<InteractionsPanelProps> = React.memo(
|
||||
This story threw an error after it finished rendering which means your interactions
|
||||
couldn't be run. Go to this story's play function in {fileName} to fix.
|
||||
</CaughtExceptionDescription>
|
||||
<CaughtExceptionStack>
|
||||
<CaughtExceptionStack data-chromatic="ignore">
|
||||
{caughtException.stack || `${caughtException.name}: ${caughtException.message}`}
|
||||
</CaughtExceptionStack>
|
||||
</CaughtException>
|
||||
|
Loading…
x
Reference in New Issue
Block a user