UNPKG

e2ed

Version:

E2E testing framework over Playwright

14 lines (13 loc) 436 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.cloneWithoutLogEvents = void 0; /** * Clone test run object without `logEvents` property (to reduce logs). * @internal */ const cloneWithoutLogEvents = (withLogEvents) => { const { logEvents, ...withoutLogEvents } = withLogEvents ?? {}; void logEvents; return withoutLogEvents; }; exports.cloneWithoutLogEvents = cloneWithoutLogEvents;