Skip to content

Commit

Permalink
docs: remove disruptive comma (#7094)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath authored Dec 18, 2024
1 parent bde98b6 commit 5ba4947
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ test.skipIf(isDev)('prod only test', () => {
```

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

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

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

### test.only
Expand Down Expand Up @@ -231,7 +231,7 @@ test.concurrent('test 2', async ({ expect }) => {
```

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

### test.sequential
Expand Down Expand Up @@ -289,7 +289,7 @@ test.fails('fail test', async () => {
```

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

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

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

### test.for
Expand Down Expand Up @@ -800,7 +800,7 @@ describe.runIf(isDev)('dev only test suite', () => {
```

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

### describe.only
Expand Down Expand Up @@ -874,7 +874,7 @@ describe.concurrent('suite', () => {
```

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

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

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

### describe.todo
Expand Down Expand Up @@ -995,7 +995,7 @@ describe.each`
```

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

## Setup and Teardown
Expand Down

0 comments on commit 5ba4947

Please sign in to comment.