Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotwestlake committed Jul 4, 2022
1 parent 8dba057 commit 497c33c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/config/index.md
Expand Up @@ -374,7 +374,7 @@ Glob pattern of file paths to be ignored from triggering watch rerun.
- **Type**: `string[]`
- **Default:** `[]`

Glob patter of file paths that will trigger the whole suite rerun.
Glob patter of file paths that will trigger the whole suite rerun. This paired with the `--changed` argument will run the whole test suite if the trigger is found in the git diff.

Useful if you are testing calling CLI commands, because Vite cannot construct a module graph:

Expand Down
2 changes: 2 additions & 0 deletions docs/guide/cli.md
Expand Up @@ -83,6 +83,8 @@ Clears cache folder.

To run tests against changes made in the last commit, you can use `--changed HEAD~1`. You can also pass commit hash or branch name.

If paired with the `forceRerunTriggers` config option it will run the whole test suite if a match is found.

### shard

- **Type**: `string`
Expand Down

0 comments on commit 497c33c

Please sign in to comment.