Skip to content

Commit

Permalink
docs: add Vitest version to toMatchFileSnapshot documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Apr 5, 2023
1 parent b738b00 commit 7347179
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/api/expect.md
Expand Up @@ -681,6 +681,7 @@ type Awaitable<T> = T | PromiseLike<T>
## toMatchFileSnapshot

- **Type:** `<T>(filepath: string, message?: string) => Promise<void>`
- **Version:** Vitest 0.30.0

Compare or update the snapshot with the content of a file explicitly specified (instead of the `.snap` file).

Expand Down

0 comments on commit 7347179

Please sign in to comment.