We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
duration_ms
1 parent 4dccb1a commit b39a5edCopy full SHA for b39a5ed
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