(test: Circus.TestEntry)
| 312 | }; |
| 313 | |
| 314 | export const getTestDuration = (test: Circus.TestEntry): number | null => { |
| 315 | const {startedAt} = test; |
| 316 | return typeof startedAt === 'number' ? Date.now() - startedAt : null; |
| 317 | }; |
| 318 | |
| 319 | export const makeRunResult = ( |
| 320 | describeBlock: Circus.DescribeBlock, |