Thanks to visit codestin.com Credit goes to github.com
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 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