Skip to content

docs(en): merge docs-cn/sync-docs into docs-cn/dev @ 78ee2995#989

Closed
docschina-bot wants to merge 4 commits into
devfrom
sync-78ee2995-1
Closed

docs(en): merge docs-cn/sync-docs into docs-cn/dev @ 78ee2995#989
docschina-bot wants to merge 4 commits into
devfrom
sync-78ee2995-1

Conversation

@docschina-bot

Copy link
Copy Markdown
Collaborator

此 PR 自动生成。

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

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

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

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

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

@docschina-bot docschina-bot requested a review from elonehoo June 3, 2026 00:24
@netlify

netlify Bot commented Jun 3, 2026

Copy link
Copy Markdown

Deploy Preview for cn-vitest failed.

Name Link
🔨 Latest commit da3911d
🔍 Latest deploy log https://app.netlify.com/projects/cn-vitest/deploys/6a1f74250b815c0008aca3d7

@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: da3911d29d

ℹ️ 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
- 向 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 remaining merge conflict markers

This commit still contains unresolved merge-conflict markers (<<<<<<<, =======, >>>>>>>) here; I also checked the changed docs with rg '^(<<<<<<<|=======|>>>>>>>)' and found the same issue in guide/browser/why.md, guide/learn/writing-tests.md, and guide/migration.md. These markers and the duplicated Chinese/English alternatives would be published as broken documentation, so the conflicts need to be resolved before merging.

Useful? React with 👍 / 👎.

@NoiseFan NoiseFan closed this Jun 4, 2026
@NoiseFan NoiseFan deleted the sync-78ee2995-1 branch June 4, 2026 23:47
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.

5 participants