Skip to content

Commit

Permalink
doc: fix option for updating snapshots (#1936)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Aug 30, 2022
1 parent ae8fcc7 commit 11ed412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ When the received value doesn't match the snapshot, the test fails and shows you

In watch mode, you can press the `u` key in the terminal to update the failed snapshot directly.

Or you can use the `--updateSnapshot` or `-u` flag in the CLI to make Vitest update snapshots.
Or you can use the `--update` or `-u` flag in the CLI to make Vitest update snapshots.

```bash
vitest -u
Expand Down

0 comments on commit 11ed412

Please sign in to comment.