Tweak Chromatic diffThreshold to reduce false negative tests

This commit is contained in:
Gabe Kangas 2022-11-05 17:27:44 -07:00
parent fd54846f69
commit 4cdbcc642d
No known key found for this signature in database
GPG key ID: 9A56337728BC81EA
3 changed files with 5 additions and 1 deletions

View file

@ -8,6 +8,7 @@ export default {
title: 'owncast/Chat/Chat messages container',
component: ChatContainer,
parameters: {
chromatic: { diffThreshold: 0.2 },
docs: {
description: {
component: `

View file

@ -33,6 +33,7 @@ export default {
component: ChatTextField,
parameters: {
fetchMock: mocks,
chromatic: { diffThreshold: 0.2 },
design: {
type: 'image',

View file

@ -13,7 +13,9 @@ import { ClientConfig } from '../interfaces/client-config.model';
export default {
title: 'owncast/Chat/Embeds/Read-write chat',
component: ReadWritePage,
parameters: {},
parameters: {
chromatic: { diffThreshold: 0.2 },
},
} as ComponentMeta<typeof ReadWritePage>;
const testMessages =