Skip to content

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

Closed

Description

@jong-kyung

Documentation is

  • Missing
  • Outdated
  • Confusing
  • Not sure

Explain in Detail

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:

import { describe, expect, it, vi } from 'vite-plus/test';

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.

Relevant Page

https://github.com/voidzero-dev/vite-plus/blob/main/docs/guide/test.md

Reproduction (Optional)

No response

Steps to reproduce (Optional)

No response

Activity

  1. self-assigned this
    on Aug 11, 2026
  2. added
    documentation
    on Aug 11, 2026
  3. added a commit that references this issue on Aug 11, 2026
    ddbd914
  4. added this to the RC milestone on Aug 11, 2026
  5. added a commit that references this issue on Aug 15, 2026
    aedb3d1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentation

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions