UNPKG

e2ed

Version:

E2E testing framework over Playwright

15 lines (14 loc) 414 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isScreenshotLog = isScreenshotLog; /** * Returns `true`, if value is screenshot log. * @internal */ function isScreenshotLog(value) { return (value instanceof Object && 'screenshotId' in value && typeof value.screenshotId === 'string' && 'url' in value && typeof value.url === 'string'); }