Skip to content

Commit a237ba4

Browse files
authored
docs: remove disruptive comma (#7094)
1 parent 8cc758a commit a237ba4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

api/index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ test.skipIf(isDev)('prod only test', () => {
146146
```
147147

148148
::: warning
149-
You cannot use this syntax, when using Vitest as [type checker](/guide/testing-types).
149+
You cannot use this syntax when using Vitest as [type checker](/guide/testing-types).
150150
:::
151151

152152
### test.runIf
@@ -166,7 +166,7 @@ test.runIf(isDev)('dev only test', () => {
166166
```
167167

168168
::: warning
169-
You cannot use this syntax, when using Vitest as [type checker](/guide/testing-types).
169+
You cannot use this syntax when using Vitest as [type checker](/guide/testing-types).
170170
:::
171171

172172
### test.only
@@ -231,7 +231,7 @@ test.concurrent('test 2', async ({ expect }) => {
231231
```
232232

233233
::: warning
234-
You cannot use this syntax, when using Vitest as [type checker](/guide/testing-types).
234+
You cannot use this syntax when using Vitest as [type checker](/guide/testing-types).
235235
:::
236236

237237
### test.sequential
@@ -289,7 +289,7 @@ test.fails('fail test', async () => {
289289
```
290290

291291
::: warning
292-
You cannot use this syntax, when using Vitest as [type checker](/guide/testing-types).
292+
You cannot use this syntax when using Vitest as [type checker](/guide/testing-types).
293293
:::
294294

295295
### test.each
@@ -390,7 +390,7 @@ Vitest processes `$values` with Chai `format` method. If the value is too trunca
390390
:::
391391

392392
::: warning
393-
You cannot use this syntax, when using Vitest as [type checker](/guide/testing-types).
393+
You cannot use this syntax when using Vitest as [type checker](/guide/testing-types).
394394
:::
395395

396396
### test.for
@@ -800,7 +800,7 @@ describe.runIf(isDev)('dev only test suite', () => {
800800
```
801801

802802
::: warning
803-
You cannot use this syntax, when using Vitest as [type checker](/guide/testing-types).
803+
You cannot use this syntax when using Vitest as [type checker](/guide/testing-types).
804804
:::
805805

806806
### describe.only
@@ -874,7 +874,7 @@ describe.concurrent('suite', () => {
874874
```
875875

876876
::: warning
877-
You cannot use this syntax, when using Vitest as [type checker](/guide/testing-types).
877+
You cannot use this syntax when using Vitest as [type checker](/guide/testing-types).
878878
:::
879879

880880
### describe.sequential
@@ -930,7 +930,7 @@ describe.shuffle('suite', () => {
930930
`.skip`, `.only`, and `.todo` works with random suites.
931931

932932
::: warning
933-
You cannot use this syntax, when using Vitest as [type checker](/guide/testing-types).
933+
You cannot use this syntax when using Vitest as [type checker](/guide/testing-types).
934934
:::
935935

936936
### describe.todo
@@ -995,7 +995,7 @@ describe.each`
995995
```
996996

997997
::: warning
998-
You cannot use this syntax, when using Vitest as [type checker](/guide/testing-types).
998+
You cannot use this syntax when using Vitest as [type checker](/guide/testing-types).
999999
:::
10001000

10011001
## Setup and Teardown

0 commit comments

Comments
 (0)