UNPKG

wdio-performancetotal-service

Version:

WebdriverIO service for analyzing test flow performance

21 lines (20 loc) 547 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PerformanceLogEntry = void 0; class PerformanceLogEntry { constructor() { this.name = ""; this.brName = ""; this.id = ""; this.instanceId = ""; this.startTime = 0; this.endTime = 0; this.startDisplayTime = ""; this.duration = 0; this.isTestPassed = true; } getDuration() { return this.endTime - this.startTime; } } exports.PerformanceLogEntry = PerformanceLogEntry;