Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ import { assert, describe, test } from 'vitest'

describe.skip('skipped suite', () => {
test('sqrt', () => {
// 套件跳过,没有错误
// 跳过该测试套件,不报错
assert.equal(Math.sqrt(4), 3)
})
})
Expand Down Expand Up @@ -914,7 +914,7 @@ describe.only('suite', () => {
})

describe('other suite', () => {
// ... 将被跳过
// 将被跳过...
})
```

Expand Down Expand Up @@ -1118,7 +1118,7 @@ describe.each`
其他非数组情况(包括模板字符串的使用)的工作方式完全相同。

```ts
// `each` 展开数组用例
// `each` 会展开数组用例
describe.each([
[1, 1, 2],
[1, 2, 3],
Expand Down