(log)
| 113 | } |
| 114 | |
| 115 | function friendlyDate(log) { |
| 116 | const dateString = typeof log.t === class="st">'string' ? log.t : log.t.$date; |
| 117 | try { |
| 118 | log.t = new Date(Date.parse(dateString)).toISOString(); |
| 119 | } catch (e) { |
| 120 | if (warnings) console.error(`Cannot translate date time of ${JSON.stringify(log)}`); |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | function collectTests(xuint, testFilter) { |
| 125 | const suites = xuint.testsuites.testsuite; |