testcafe-reporter-spec-time
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -1,3 +0,1 @@ | ||
const requireStartTime = Date.now() | ||
exports.default = createReporter | ||
@@ -8,2 +6,3 @@ module.exports = createReporter | ||
let fixtureStartTime = -1 | ||
const reporterCreatedTime = Date.now() | ||
@@ -36,3 +35,3 @@ return { | ||
.write(this.chalk.grey( | ||
`Startup time (${this.fmtTime(startTime - requireStartTime)})` | ||
`Startup time (${this.fmtTime(startTime - reporterCreatedTime)})` | ||
)) | ||
@@ -187,3 +186,3 @@ .newline() | ||
this.write(this.chalk.grey( | ||
`Total time (${this.fmtTime(Date.now() - requireStartTime)})` | ||
`Total time (${this.fmtTime(Date.now() - reporterCreatedTime)})` | ||
)).newline() | ||
@@ -190,0 +189,0 @@ }, |
{ | ||
"name": "testcafe-reporter-spec-time", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "A testcafe reporter with timing information", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/Raynos/testcafe-reporter-spec-time", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
114873