Skip to content

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

Open
jong-kyung wants to merge 3 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 3 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 ready!

Name Link
🔨 Latest commit 041e145
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a7b13715d16f300083c2a4d
😎 Deploy Preview https://deploy-preview-2413--viteplus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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