You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Vite+ Test Guide does not mention the vite-plus/test import surface #2412
The test guide docs/guide/test.md explains how to run and configure vp test, but it never shows where test APIs like describe, it, expect, and vi should be imported from.
The vite-plus/test import surface is currently only documented in the migration guide docs/guide/migrate.md, which existing Vitest users read. A user who starts a new project and only reads the test guide has no way to know that Vitest APIs are re-exported from vite-plus/test, so they may install vitest directly even though a single vite-plus install is enough.
Your Suggestion for Changes
Add a short paragraph and import example to the Overview section of docs/guide/test.md, for example:
Vitest APIs are available from vite-plus/test, so a single vite-plus install is enough — you do not need to install vitest directly:
The browser subpaths vite-plus/test/browser* are already covered in the migration guide, so linking there is enough rather than duplicating them in the test guide.
Activity
docs(guide): document the vite-plus/test import surface
docs(guide): document the vite-plus/test import surface (voidzero-dev…