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 d885ee2 commit 27241c3Copy full SHA for 27241c3
lib/internal/test_runner/test.js
@@ -1,4 +1,4 @@
1
-// https://github.com/nodejs/node/blob/59527de13d39327eb3dfa8dedc92241eb40066d5/lib/internal/test_runner/test.js
+// https://github.com/nodejs/node/blob/6ee1f3444f8c1cf005153f936ffc74221d55658b/lib/internal/test_runner/test.js
2
3
'use strict'
4
@@ -617,8 +617,8 @@ class Test extends AsyncResource {
617
}
618
619
#duration () {
620
- // Duration is recorded in BigInt nanoseconds. Convert to seconds.
621
- 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
622
623
624
report () {
0 commit comments