Add invidious test duration in list
This commit is contained in:
1 parent
e80fcabae5
commit
64f3683a22
1 file changed
+2
+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)
|
||||
|
||||
Reference in new issue
Block a user