npx @buildinternet/releases get vitestRecently shipped Vitest 5.0.4 with trace-view selector highlighting, a --changed test count, and a test.ui.theme option.
Trace view got sharper. When several elements match a selector in trace view, each match is now highlighted. The attempts selector sits in the viewer header, with a focused layout mode that collapses surrounding chrome. Trace state persists across keyboard navigation of steps, with links out to Playwright traces, and the VS Code extension opens trace view directly.
--changed now says how much it touched. Runs print the number of affected tests plus a total.
Config and defaults kept moving.
- A
test.ui.themeoption sets the UI theme. - Cache directories can be tagged with
CACHEDIR.TAG. - Assertion inspection uses pretty-format;
test.for/each$titles no longer quote string values. - Attachments moved to
.vitest/attachments/. - Nested projects are supported,
clearCacheandparseSpecificationsgraduated out of experimental, and coverage runs on@vitest/istanbuljs.
Patch wrap-up. v5.0.2 and v5.0.3 bound process when a global overwrites it, fixed toMatchObject with asymmetric matchers, isolated result.status between repeats runs, and stopped retrying when test.fails already failed. The VS Code extension no longer crashes on newer editor versions.