Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/config/forcereruntriggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ outline: deep
# forceRerunTriggers <CRoot />

- **Type:** `string[]`
- **Default:** `['**/package.json/**', '**/vitest.config.*/**', '**/vite.config.*/**']`
- **Default:** `['**/package.json', '**/vitest.config.*', '**/vite.config.*']`

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

Expand Down
2 changes: 1 addition & 1 deletion packages/vitest/src/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const configDefaults: Readonly<{
include: defaultInclude,
exclude: defaultExclude,
teardownTimeout: 10000,
forceRerunTriggers: ['**/package.json/**', '**/{vitest,vite}.config.*/**'],
forceRerunTriggers: ['**/package.json', '**/{vitest,vite}.config.*'],
update: false,
reporters: [
isAgent ? 'minimal' : 'default',
Expand Down
Loading