Skip to content

Conversation

@guoxk-hb
Copy link
Contributor

@guoxk-hb guoxk-hb commented Dec 9, 2025

@netlify
Copy link

netlify bot commented Dec 9, 2025

Deploy Preview for cn-vitest ready!

Name Link
🔨 Latest commit de40989
🔍 Latest deploy log https://app.netlify.com/projects/cn-vitest/deploys/6937c85e4f41e10008f538cf
😎 Deploy Preview https://deploy-preview-835--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
Copy link
Collaborator

NoiseFan commented Dec 9, 2025

这确实是一个好问题。

我认为这个需要先更新英文文档,等英文文档更新后,中文文档进行同步升级。

经过初步的核实,这个是 3.2 引入的参数。所以他更新的范围应该是

  • 英文的 v3 分支
  • 英文的 main 分支
  • 中文的 v3分支 (我来处理即可)
  • 中文的 dev 分支

@guoxk-hb
Copy link
Contributor Author

guoxk-hb commented Dec 9, 2025

好的,谢谢你的回复。
现在 我看到英文版已经合并了,但是我看到这个参数,好像是4.0 beta版本才增加的。
我尝试下载了 v3.2.4版本 并没有这个options参数。

@NoiseFan
Copy link
Collaborator

NoiseFan commented Dec 9, 2025

如果是 4.x 添加的参数。暂时中文文档还停留在 3.x 版本,还未同步。同步之后你的问题应更会逐步解决掉。
所以这个 pr 会被关闭。

再次感谢你的 pr

@NoiseFan NoiseFan closed this Dec 9, 2025
@guoxk-hb
Copy link
Contributor Author

我看到现在文档在v4.0.0-beta.7版本 且文档中有明显错误,两者是冲突的,不能共存。
image

image

@NoiseFan NoiseFan reopened this Dec 10, 2025
@NoiseFan NoiseFan merged commit 0765f3e into vitest-dev:dev Dec 10, 2025
6 checks passed
@NoiseFan
Copy link
Collaborator

感谢你耐心的解释

@guoxk-hb guoxk-hb deleted the 12-09-docs_add_mockobject_options branch December 10, 2025 08:50
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.

2 participants