We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf0e97 commit 351399fCopy full SHA for 351399f
packages/ui/client/composables/summary.ts
@@ -34,9 +34,9 @@ export const testsTodo = computed(() => testsIgnore.value.filter(f => f.mode ===
34
export const totalTests = computed(() => testsFailed.value.length + testsSuccess.value.length)
35
export const time = computed(() => {
36
const t = getTests(tests.value).reduce((acc, t) => {
37
- if (t.result?.duration)
38
- acc += t.result.duration
39
-
+ acc += Math.max(0, t.collectDuration || 0)
+ acc += Math.max(0, t.setupDuration || 0)
+ acc += Math.max(0, t.result?.duration || 0)
40
return acc
41
}, 0)
42
0 commit comments