vitest-knowledge-patch
Vitest Knowledge Patch (3.0 – 4.1)
Supplementary knowledge for Vitest features released after Claude's training cutoff. Covers versions 3.0 through 4.1 (January 2025 – March 2026).
Reference Files
references/projects-config.md—workspacereplaced byprojects, inline config,sequence.groupOrder,watchTriggerPatterns,defineProjectreferences/browser-mode.md— Stable browser mode (v4), provider packages, locators, visual regression testing, Playwright traces, frame locatorsreferences/test-fixtures-hooks.md— Scoped fixtures,test.extendbuilder pattern,aroundEach/aroundAllhooks, type-aware hooks,vi.defineHelper, testsignalAPIreferences/matchers-mocking.md—expect.assert,expect.schemaMatching,Matcherstype,mockThrow,usingwith vi.spyOn/fn, v4 mocking changesreferences/test-organization.md— Test tags (v4.1), test annotations,agentreporter, GitHub Actions job summary,--detect-async-leaksreferences/migration-v4.md— Breaking changes, coverage overhaul, simplifiedexclude,viteModuleRunner: false, Node.js 20+ requirement
Projects (replaces Workspace)
The workspace config and separate vitest.workspace files are deprecated (v3.2) and removed in v4. Use projects instead:
More from nevaberry/nevaberry-plugins
dioxus-knowledge-patch
Dioxus changes since training cutoff (latest: 0.7.4) — Signals replacing use_state, RSX macro overhaul, server functions, asset!() system, dx CLI, Element-as-Result. Load before working with Dioxus.
47rust-knowledge-patch
Rust changes since training cutoff (latest: 1.94.0) \u2014 Rust 2024 Edition, async closures, trait upcasting, new std APIs, cargo resolver v3. Load before working with Rust.
20postgresql-knowledge-patch
PostgreSQL changes since training cutoff (latest: 18.1) — JSON_TABLE, SQL/JSON functions, MERGE RETURNING, virtual generated columns, UUIDv7, temporal PRIMARY KEY. Load before working with PostgreSQL.
16bun-knowledge-patch
Bun changes since training cutoff (latest: 1.3.10) \u2014 S3 client, built-in SQL/Redis, route-based HTTP server, CSS bundler, V8 compatibility. Load before working with Bun.
14nextjs-knowledge-patch
Next.js changes since training cutoff (latest: 16.1) — proxy.ts, \"use cache\", Cache Components, navigation hooks, typed routes, auto PageProps, React 19.2. Load before working with Next.js.
14postgis-knowledge-patch
PostGIS changes since training cutoff (latest: 3.6.1) — SFCGAL CG_* rename, ST_CoverageClean, ST_AsRasterAgg, topology bigint IDs, viewport simplification, 3D SFCGAL ops. Load before working with PostGIS.
13