chore: allow 3px of difference in SC visual tests (#31972)

This commit is contained in:
Florian Duros
2026-02-04 17:56:08 +01:00
committed by GitHub
parent a05b359c28
commit 7738be32ec

View File

@@ -81,7 +81,10 @@ export default defineConfig({
configDir: path.join(dirname, ".storybook"),
storybookScript: "storybook --ci",
}),
storybookVis({}),
storybookVis({
// 3px of difference allowed before marking as failed
failureThreshold: 3,
}),
],
test: {
name: "storybook",