mirror of
https://github.com/owncast/owncast.git
synced 2024-11-28 19:19:06 +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',
|
title: 'owncast/Chat/Chat messages container',
|
||||||
component: ChatContainer,
|
component: ChatContainer,
|
||||||
parameters: {
|
parameters: {
|
||||||
|
chromatic: { diffThreshold: 0.2 },
|
||||||
docs: {
|
docs: {
|
||||||
description: {
|
description: {
|
||||||
component: `
|
component: `
|
||||||
|
|
|
@ -33,6 +33,7 @@ export default {
|
||||||
component: ChatTextField,
|
component: ChatTextField,
|
||||||
parameters: {
|
parameters: {
|
||||||
fetchMock: mocks,
|
fetchMock: mocks,
|
||||||
|
chromatic: { diffThreshold: 0.2 },
|
||||||
|
|
||||||
design: {
|
design: {
|
||||||
type: 'image',
|
type: 'image',
|
||||||
|
|
|
@ -13,7 +13,9 @@ import { ClientConfig } from '../interfaces/client-config.model';
|
||||||
export default {
|
export default {
|
||||||
title: 'owncast/Chat/Embeds/Read-write chat',
|
title: 'owncast/Chat/Embeds/Read-write chat',
|
||||||
component: ReadWritePage,
|
component: ReadWritePage,
|
||||||
parameters: {},
|
parameters: {
|
||||||
|
chromatic: { diffThreshold: 0.2 },
|
||||||
|
},
|
||||||
} as ComponentMeta<typeof ReadWritePage>;
|
} as ComponentMeta<typeof ReadWritePage>;
|
||||||
|
|
||||||
const testMessages =
|
const testMessages =
|
||||||
|
|
Loading…
Reference in a new issue