mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
Tweak Chromatic diffThreshold to reduce false negative tests
This commit is contained in:
parent
fd54846f69
commit
4cdbcc642d
3 changed files with 5 additions and 1 deletions
|
@ -8,6 +8,7 @@ export default {
|
|||
title: 'owncast/Chat/Chat messages container',
|
||||
component: ChatContainer,
|
||||
parameters: {
|
||||
chromatic: { diffThreshold: 0.2 },
|
||||
docs: {
|
||||
description: {
|
||||
component: `
|
||||
|
|
|
@ -33,6 +33,7 @@ export default {
|
|||
component: ChatTextField,
|
||||
parameters: {
|
||||
fetchMock: mocks,
|
||||
chromatic: { diffThreshold: 0.2 },
|
||||
|
||||
design: {
|
||||
type: 'image',
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue