We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
duration_ms
1 parent 2facf8b commit a35c2f9Copy full SHA for a35c2f9
lib/internal/test_runner/test.js
@@ -615,8 +615,8 @@ class Test extends AsyncResource {
615
}
616
617
#duration() {
618
- // Duration is recorded in BigInt nanoseconds. Convert to seconds.
619
- 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;
620
621
622
report() {
0 commit comments