[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.

perf(reporters): remove unnecessary `Array.from` call (#8907)

authored by

Mikhail and committed by
GitHub
(Nov 3, 2025, 8:23 AM +0200) b60149b2 06d6207f

+1 -1
+1 -1
packages/vitest/src/node/reporters/summary.ts
··· 289 289 290 290 const slowTasks = [ 291 291 testFile.hook, 292 - ...Array.from(testFile.tests.values()), 292 + ...testFile.tests.values(), 293 293 ].filter((t): t is SlowTask => t != null && t.visible) 294 294 295 295 for (const [index, task] of slowTasks.entries()) {