Skip to main content

Interface: MugshotOptions

mugshot.MugshotOptions

Properties#

createMissingBaselines#

Optional createMissingBaselines: boolean

If set to true then Mugshot.check will pass if a baseline is not found and it will create the baseline from the screenshot it takes.

Defined in: packages/mugshot/src/lib/mugshot.ts:92


pngDiffer#

Optional pngDiffer: PNGDiffer

Defined in: packages/mugshot/src/lib/mugshot.ts:85


updateBaselines#

Optional updateBaselines: boolean

When set to true then Mugshot.check will overwrite any existing baselines and will create missing ones (implies setting createMissingBaselines: true).

Defined in: packages/mugshot/src/lib/mugshot.ts:99