Skip to content

Commit

Permalink
docs: fix no-standalone-expect.md options example (#606)
Browse files Browse the repository at this point in the history
* docs: fix no-standalone-expect.md options example

* Update no-standalone-expect.md
  • Loading branch information
andykenward authored Dec 19, 2024
1 parent d31fdb7 commit b17e157
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/rules/no-standalone-expect.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ This rule aims to prevent the use of `expect` outside of `it` or `test` blocks.

```json
{
"vitest/no-standalone-expect": {
"additionalTestBlockFunctions": ["test"]
}
"vitest/no-standalone-expect": [
"error",
{
"additionalTestBlockFunctions": ["test"]
}
]
}
```

Expand Down

0 comments on commit b17e157

Please sign in to comment.