Skip to content

docs(v3): update /api/index#936

Merged
NoiseFan merged 11 commits intovitest-dev:v3from
NoiseFan:3.x
Apr 7, 2026
Merged

docs(v3): update /api/index#936
NoiseFan merged 11 commits intovitest-dev:v3from
NoiseFan:3.x

Conversation

@NoiseFan
Copy link
Copy Markdown
Collaborator

@NoiseFan NoiseFan commented Mar 14, 2026

在提交PR之前,请确保您执行以下操作:

  • 曾阅读过翻译须知
  • 检查是否已经有PR以同样的方式解决问题,以避免创建重复。
  • 在此PR中描述正在解决的问题,或引用它解决的问题(例如:fixes #123)。

描述

附加上下文

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 14, 2026

Deploy Preview for cn-vitest ready!

Name Link
🔨 Latest commit 162fb64
🔍 Latest deploy log https://app.netlify.com/projects/cn-vitest/deploys/69d40031931eb700076a8eae
😎 Deploy Preview https://deploy-preview-936--cn-vitest.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@NoiseFan NoiseFan changed the title 3.x docs(v3): update /api/index Mar 14, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the v3 API index documentation (/api/index) to improve Chinese translation accuracy and readability, primarily by refining phrasing and translating previously-English inline descriptions.

Changes:

  • Refined wording/spacing in several API descriptions (e.g., test.only).
  • Localized inline comments and option descriptions in code examples (e.g., test.concurrent combinations, test.each printf specifiers).
  • Adjusted several example comments for more natural Chinese phrasing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@thinkasany
Copy link
Copy Markdown
Collaborator

@codex

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@thinkasany
Copy link
Copy Markdown
Collaborator

@codex

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@NoiseFan NoiseFan marked this pull request as ready for review April 6, 2026 18:34
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 975748f5ee

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

- [`onTestRunEnd`](#ontestrunend)

除非被跳过,否则单个模块中的测试和 reporters 将按顺序报告。所有跳过的测试将在 reporters /模块的末尾报告。
- [`onTestRunEnd`](#ontestrunend)除非被跳过,否则单个模块中的测试和 reporters 将按顺序报告。所有跳过的测试将在 reporters /模块的末尾报告。
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Insert newline after onTestRunEnd bullet

The onTestRunEnd list item is accidentally merged with the following paragraph (...#ontestrunend)除非...), so Markdown treats explanatory text as part of the bullet instead of a separate paragraph. This breaks the document structure in rendered output and makes the lifecycle summary harder to read; split these into separate lines.

Useful? React with 👍 / 👎.

@NoiseFan NoiseFan merged commit d90e731 into vitest-dev:v3 Apr 7, 2026
5 checks passed
@NoiseFan NoiseFan deleted the 3.x branch April 7, 2026 12:36
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.

3 participants