playwright-performance
Version:
Playwright plugin for analyzing test flow performance
12 lines (11 loc) • 515 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const performance_fixture_1 = require("./performance-fixture");
function extendPlaywrightPerformance(customOptions = {}) {
return {
performance: performance_fixture_1.playwrightPerformance.performance,
performanceOptions: [customOptions, { scope: 'worker' }],
worker: [performance_fixture_1.playwrightPerformance.worker, { scope: 'worker', auto: true }]
};
}
exports.default = extendPlaywrightPerformance;