[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

fix(ui): fix tests duration time (#5219)

authored by

Vladimir Semyonov and committed by
GitHub
(Feb 16, 2024, 2:46 PM +0100) 581030ee 2ef5e3f2

+2
+2
packages/ui/client/composables/summary.ts
··· 37 37 acc += Math.max(0, t.collectDuration || 0) 38 38 acc += Math.max(0, t.setupDuration || 0) 39 39 acc += Math.max(0, t.result?.duration || 0) 40 + acc += Math.max(0, t.environmentLoad || 0) 41 + acc += Math.max(0, t.prepareDuration || 0) 40 42 return acc 41 43 }, 0) 42 44