We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
duration_ms
1 parent a0df862 commit b46081bCopy full SHA for b46081b
lib/internal/test_runner/test.js
@@ -619,8 +619,8 @@ class Test extends AsyncResource {
619
}
620
621
#duration() {
622
- // Duration is recorded in BigInt nanoseconds. Convert to seconds.
623
- return Number(this.endTime - this.startTime) / 1_000_000_000;
+ // Duration is recorded in BigInt nanoseconds. Convert to milliseconds.
+ return Number(this.endTime - this.startTime) / 1_000_000;
624
625
626
report() {
0 commit comments