From 497c33c9231c2f21327ed78b0d96540880160b4c Mon Sep 17 00:00:00 2001 From: Elliot Westlake <17042376+elliotwestlake@users.noreply.github.com> Date: Mon, 4 Jul 2022 15:09:05 +0100 Subject: [PATCH] update docs --- docs/config/index.md | 2 +- docs/guide/cli.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/config/index.md b/docs/config/index.md index cb8b8eacc7ac..85a129fa9e2f 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -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: diff --git a/docs/guide/cli.md b/docs/guide/cli.md index e43fccc19775..7777795025b7 100644 --- a/docs/guide/cli.md +++ b/docs/guide/cli.md @@ -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`