diff --git a/docs/guide/browser/visual-regression-testing.md b/docs/guide/browser/visual-regression-testing.md index 2156e42cf..9e96e45f2 100644 --- a/docs/guide/browser/visual-regression-testing.md +++ b/docs/guide/browser/visual-regression-testing.md @@ -177,8 +177,8 @@ Note that **screenshots for deleted or renamed tests aren't removed automaticall When a visual test fails, Vitest provides three images to help debug: 1. **Reference screenshot**: the expected baseline image -1. **Actual screenshot**: what was captured during the test -1. **Diff image**: highlights the differences; only generated when the screenshots have the same dimensions (behavior may vary with custom matchers) +2. **Actual screenshot**: what was captured during the test +3. **Diff image**: highlights the differences; only generated when the screenshots have the same dimensions (behavior may vary with custom matchers) You'll see something like this in the CLI output: diff --git a/docs/guide/recipes/conditional-mocking.md b/docs/guide/recipes/conditional-mocking.md index 0fb8e190d..42f514159 100644 --- a/docs/guide/recipes/conditional-mocking.md +++ b/docs/guide/recipes/conditional-mocking.md @@ -152,8 +152,8 @@ By default, when the spy is called with arguments that match no registered behav There are three ways to handle this differently: 1. [throwing an error](#onunmatched-throw); -1. [running a custom function](#onunmatched-fn); -1. [using asymmetric matchers as catch-all behaviors](#asymmetric-matcher-as-catch-all). +2. [running a custom function](#onunmatched-fn); +3. [using asymmetric matchers as catch-all behaviors](#asymmetric-matcher-as-catch-all). ### `onUnmatched: 'throw'`