Add invidious test duration in list

This commit is contained in:
Brahim Hadriche committed 2023-10-14 22:54:13 -04:00
1 parent e80fcabae5
commit 64f3683a22
1 file changed
+2
@@ -53,7 +53,9 @@ function RunTests(instance as string, content as object) as void
for each testNode in testNodes
timer.Mark()
m[testNode.func](instance, testNode)
testNode.duration = timer.TotalMilliseconds()
testNode.title = `${testNode.title} (${testNode.duration}ms)`
if testNode.state = "failed"
LogError(testNode.details)