8000
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 37e9092 commit 99ee5e4Copy full SHA for 99ee5e4
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