Increase change threshold for Chromatic UI tests

This commit is contained in:
Gabe Kangas 2022-09-08 13:09:11 -07:00 committed by GitHub
parent 543218f12b
commit 0def4fe66a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -5,7 +5,9 @@ import { OwncastLogo } from './OwncastLogo';
export default {
title: 'owncast/Components/Header Logo',
component: OwncastLogo,
parameters: {},
parameters: {
chromatic: { diffThreshold: 0.8 },
},
} as ComponentMeta<typeof OwncastLogo>;
// eslint-disable-next-line @typescript-eslint/no-unused-vars

View File

@ -5,7 +5,9 @@ import { Logo } from '../components/ui/Logo/Logo';
export default {
title: 'owncast/Components/Page Logo',
component: Logo,
parameters: {},
parameters: {
chromatic: { diffThreshold: 0.8 },
},
} as ComponentMeta<typeof Logo>;
// eslint-disable-next-line @typescript-eslint/no-unused-vars