Skip to content

Commit

Permalink
Merge branch 'main' into browser-coverage-istanbul
Browse files Browse the repository at this point in the history
  • Loading branch information
elby22 authored Jul 25, 2023
2 parents d97353c + b7ce195 commit db3eadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ When you use `test` or `bench` in the top level of file, they are collected as p
In some cases, you might run suites multiple times with different environments, and some of the suites might be environment-specific. Instead of wrapping the suite with `if`, you can use `describe.skipIf` to skip the suite whenever the condition is truthy.

```ts
import { assert, test } from 'vitest'
import { describe, test } from 'vitest'
const isDev = process.env.NODE_ENV === 'development'
Expand Down

0 comments on commit db3eadb

Please sign in to comment.