Vai al contenuto
onsuggest
Accedi
Articolo en

Vitest 5: Prioritises Performance with a Shared Vite Server, Trace View, and Stricter Test Defaults

Fonte: InfoQ ·

Vitest 5.0 focuses on speed, with reported gains of 8 to 25 percent in most setups and up to 53 percent in VM pools. It adds a vitest doctor command, Browser Mode Trace View, and vi.when. Defaults are stricter: clearMocks is true and unawaited async assertions fail. It requires Vite 6.4 and Node.js 22.12 or newer. By Daniel Curtis

Scorciatoie da tastiera

Scoperta precedente
←P
Scoperta successiva
→N
Mi piace
L
Non fa per me
X
Salva
S
Mostra questo aiuto
?
Chiudi
Esc

Le scorciatoie funzionano nella pagina delle scoperte.