Skip to content

docs(cn): update /guide - #1039

Merged
NoiseFan merged 3 commits into
vitest-dev:devfrom
NoiseFan:docs/patch-1
Nov 9, 2026
Merged

NoiseFan merged 3 commits into
vitest-dev:devfrom
NoiseFan:docs/patch-1

Conversation

@NoiseFan

Copy link
Copy Markdown
Collaborator

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

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

描述

附加上下文

@netlify

netlify Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cn-vitest ready!

Name Link
🔨 Latest commit 6c8c642
🔍 Latest deploy log https://app.netlify.com/projects/cn-vitest/deploys/6add74919c75992788435441
😎 Deploy Preview https://deploy-preview-1039--cn-vitest.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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T03:19:19.938415Z 6c8c642 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown

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: 6c8c642eef

ℹ️ 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".

Comment thread guide/advanced/pool.md

on(event: string, callback: (arg: any) => void): void {
// Provide way to listen to your workers events, e.g. message, error, exit
// 监听 worker 事件的方式,例如 message、error 和 exi

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 Spell the worker exit event correctly

When readers implement CustomPoolWorker.on from this example, the listed worker events are the concrete names they need to handle, but exi is not a worker event; the intended event is exit, as in the source text. Leaving the truncated name can lead a copied implementation to subscribe to an event that never fires.

Useful? React with 👍 / 👎.

@NoiseFan
NoiseFan merged commit b3eac16 into vitest-dev:dev Nov 9, 2026
5 checks passed
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.

1 participant