UNPKG

e2ed

Version:

E2E testing framework over Playwright

15 lines (14 loc) 526 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getEmptyAdditionalLogFields = void 0; /** * Get empty additional log fields object for `toMatchScreenshot` assertion. * @internal */ const getEmptyAdditionalLogFields = ({ expectedScreenshotId, }) => ({ actual: undefined, diff: undefined, expected: { dimensions: undefined, screenshotId: expectedScreenshotId, url: undefined }, isLocalRun: undefined, }); exports.getEmptyAdditionalLogFields = getEmptyAdditionalLogFields;