Skip to content

docs(en): merge docs-cn/sync-docs into docs-cn/dev @ e7f79533#992

Merged
NoiseFan merged 7 commits into
devfrom
sync-e7f79533-1
Jun 5, 2026
Merged

docs(en): merge docs-cn/sync-docs into docs-cn/dev @ e7f79533#992
NoiseFan merged 7 commits into
devfrom
sync-e7f79533-1

Conversation

@docschina-bot

Copy link
Copy Markdown
Collaborator

此 PR 自动生成。

合并 vitest-dev/docs-cn 的修改至本仓库(@ e7f7953

以下文件存在冲突,可能需要重新翻译:

请解决所有冲突后提交到此 pull request,可直接在 Github 修改、切换到 sync-e7f79533-1 分支进行修改或者使用 Github Desktop 拉取此 pr 修改并提交。

禁止使用 Squash Merge 来合并此 Pull Request!

使用该操作会导致上游仓库的内容丢失,并致使下一次合并产生冲突。

BonaventureCJ and others added 6 commits June 2, 2026 09:19
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Hiroshi Ogawa <4232207+hi-ogawa@users.noreply.github.com>
Co-authored-by: Hiroshi Ogawa <4232207+hi-ogawa@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
@docschina-bot docschina-bot requested a review from elonehoo June 5, 2026 00:00
@netlify

netlify Bot commented Jun 5, 2026

Copy link
Copy Markdown

Deploy Preview for cn-vitest ready!

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

ℹ️ 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 config/index.md Outdated
- 向 CLI 传递 `--config` 选项,例如 `vitest --config ./path/to/vitest.config.ts`。
- 使用 `process.env.VITEST` 或在 `defineConfig` 上的 `mode` 属性(如果没有用 `--mode` 覆盖,默认设置为 `test`)也可以在 `vite.config.ts` 中有条件地应用不同的配置。请注意,像任何其他环境变量一样,`VITEST` 也会在测试中的 `import.meta.env` 上暴露出来。

<<<<<<< HEAD

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Resolve committed conflict markers

This commit leaves unresolved merge-conflict markers in the rendered Markdown, so the docs will either publish <<<<<<</=======/>>>>>>> verbatim or fail downstream content checks. I found the same pattern with rg '^(<<<<<<<|=======|>>>>>>>)' in api/advanced/vitest.md, guide/browser/why.md, guide/learn/writing-tests.md, and guide/migration.md as well, so this merge needs to be resolved before shipping.

Useful? React with 👍 / 👎.

@NoiseFan NoiseFan merged commit 3857759 into dev Jun 5, 2026
5 checks passed
@NoiseFan NoiseFan deleted the sync-e7f79533-1 branch June 5, 2026 03:30
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.

6 participants