Skip to content

Commit

Permalink
add docs for simple flags
Browse files Browse the repository at this point in the history
  • Loading branch information
cometkim committed Dec 2, 2024
1 parent 896e5d0 commit 8b2b00a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,21 @@ describe("Hello, Vitest", t => {
})
```

You can use simple flags for `skip`, `concurrent`, and `only`.

```
Skip.test("This will be skipped", t => {
// ...
})
// Use simple flags instead.
test(~skip=true, "This will be skipped", t => {
// ...
})
```

Module bindings will be deprecated and removed in next major (v3)

## LICENCE

MIT

0 comments on commit 8b2b00a

Please sign in to comment.