Log testing errors

This commit is contained in:
Brahim Hadriche committed 2023-09-23 22:53:19 -04:00
1 parent c5680f7b06
commit 5d81f025ad
1 file changed
+4
@@ -53,6 +53,10 @@ function RunTests(instance as string, content as object) as void
m[testNode.func](instance, testNode)
testNode.duration = timer.TotalMilliseconds()
if testNode.state = "failed"
LogError(testNode.details)
end if
if m.top.cancel
return
end if