Skip to main content

Interface: MugshotDiffResult

mugshot.MugshotDiffResult

Properties#

actual#

actual: Buffer

A PNG MIME encoded buffer of the actual screenshot.

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


actualName#

actualName: string

The name of the actual screenshot.

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


diff#

diff: Buffer

A PNG MIME encoded buffer of the diff image.

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


diffName#

diffName: string

The name of the diff image.

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


expected#

expected: Buffer

A PNG MIME encoded buffer of the baseline image.

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


expectedName#

expectedName: string

The name of the baseline.

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


matches#

matches: false

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