Skip to content

docs(guide): document the vite-plus/test import surface - #2413

Open
jong-kyung wants to merge 6 commits into
voidzero-dev:mainfrom
jong-kyung:docs/test-guide-import-surface
Open

docs(guide): document the vite-plus/test import surface#2413
jong-kyung wants to merge 6 commits into
voidzero-dev:mainfrom
jong-kyung:docs/test-guide-import-surface

Conversation

@jong-kyung

Copy link
Copy Markdown
Collaborator

Summary

The test guide 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, so a user who starts a new project and only reads the test guide may install vitest directly even though a single vite-plus install is enough.

This PR adds a short paragraph and an import example to the Overview section of docs/guide/test.md. The browser mode subpaths (vite-plus/test/browser*) are already covered in the migration guide, so the new section links to Migrating Vitest instead of duplicating them.

Closes #2412

@jong-kyung jong-kyung self-assigned this Aug 11, 2026
@netlify

netlify Bot commented Aug 11, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit c29b79d
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a7ebf7ee51bec00083f2713

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vite+ Test Guide does not mention the vite-plus/test import surface

2 participants