Skip to content

Conversation

@NoiseFan
Copy link
Collaborator

@NoiseFan NoiseFan commented Nov 10, 2025

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

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

描述

  • 翻译 /guide/assert
  • 修正全文中 类型:类型:

附加上下文

#773

@netlify
Copy link

netlify bot commented Nov 10, 2025

Deploy Preview for cn-vitest ready!

Name Link
🔨 Latest commit e003d8a
🔍 Latest deploy log https://app.netlify.com/projects/cn-vitest/deploys/6913644697fc4100089d83f2
😎 Deploy Preview https://deploy-preview-792--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 marked this pull request as draft November 10, 2025 16:57
@NoiseFan NoiseFan marked this pull request as ready for review November 11, 2025 15:08
@NoiseFan
Copy link
Collaborator Author

这个修改有些多,帮忙审查一下!感谢~

@thinkasany thinkasany requested a review from Copilot November 11, 2025 15:46
Copilot finished reviewing on behalf of thinkasany November 11, 2025 15:47
Copy link

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 translates the /guide/assert documentation page from English to Chinese and corrects the formatting of type annotations throughout multiple files by standardizing from 类型: to 类型: (removing the space after the colon).

  • Translates all English content in api/assert.md to Chinese
  • Standardizes type annotation formatting across multiple documentation files
  • Updates various guide files to use consistent Chinese formatting

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
api/assert.md Complete translation of assert API documentation from English to Chinese
api/expect.md Corrected type annotation formatting from 类型: to 类型:
api/expect-typeof.md Corrected type annotation formatting from 类型: to 类型:
guide/browser/locators.md Corrected type annotation formatting from 类型: to 类型:
guide/browser/config.md Corrected type annotation formatting from 类型: to 类型:
config/index.md Corrected type annotation formatting from 类型: to 类型:

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

@thinkasany
Copy link
Collaborator

翻译的真好,居然没出现【盘古之白】的问题,看看 copilot 的校验即可合并。

@thinkasany
Copy link
Collaborator

@coderabbitai 来 review

@NoiseFan
Copy link
Collaborator Author

【盘古之白】是什么东东?

@thinkasany
Copy link
Collaborator

【盘古之白】是什么东东?

可以 google 一下,就是中英文之间的空白间隙规范~

@NoiseFan
Copy link
Collaborator Author

学到了,手敲的键盘问题应该不大的,自己也review过一次。但是真的太多了,容易漏。

@NoiseFan
Copy link
Collaborator Author

errMsgMatcher没有空格, 这样对吗? 还是 errMsgMatcher空格,

@thinkasany
Copy link
Collaborator

errMsgMatcher没有空格, 这样对吗? 还是 errMsgMatcher空格,

前后都要保持一个空格

@thinkasany
Copy link
Collaborator

你应该有权限吧~ 你看了没问题就可以合并了~ 我简单看了下, 应该没什么问题。 ai 有时候也不准,起个参考作用。

@NoiseFan
Copy link
Collaborator Author

有合并的权限。

@NoiseFan NoiseFan merged commit 0d2b718 into vitest-dev:dev Nov 11, 2025
5 checks passed
@NoiseFan NoiseFan deleted the docs/assert branch November 11, 2025 16:41
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