···514514 */
515515 getByTitle: (text: string | RegExp, options?: LocatorOptions) => Locator
516516 /**
517517- * Creates a locator capable of finding an element that matches the specified test id attribute. You can configure the attribute name with [`browser.locators.testIdAttribute`](/config/#browser-locators-testidattribute).
517517+ * Creates a locator capable of finding an element that matches the specified test id attribute. You can configure the attribute name with [`browser.locators.testIdAttribute`](/config/browser/locators#browser-locators-testidattribute).
518518 * @see {@link https://vitest.dev/api/browser/locators#getbytestid}
519519 */
520520 getByTestId: (text: string | RegExp) => Locator
···224224 /**
225225 * Clears all information about every call. After calling it, all properties on `.mock` will return to their initial state. This method does not reset implementations. It is useful for cleaning up mocks between different assertions.
226226 *
227227- * To automatically call this method before each test, enable the [`clearMocks`](https://vitest.dev/config/#clearmocks) setting in the configuration.
227227+ * To automatically call this method before each test, enable the [`clearMocks`](https://vitest.dev/config/clearmocks) setting in the configuration.
228228 * @see https://vitest.dev/api/mock#mockclear
229229 */
230230 mockClear(): this
···234234 * Note that resetting a mock from `vi.fn()` will set implementation to an empty function that returns `undefined`.
235235 * Resetting a mock from `vi.fn(impl)` will set implementation to `impl`. It is useful for completely resetting a mock to its default state.
236236 *
237237- * To automatically call this method before each test, enable the [`mockReset`](https://vitest.dev/config/#mockreset) setting in the configuration.
237237+ * To automatically call this method before each test, enable the [`mockReset`](https://vitest.dev/config/mockreset) setting in the configuration.
238238 * @see https://vitest.dev/api/mock#mockreset
239239 */
240240 mockReset(): this
+2-2
packages/vitest/src/integrations/vi.ts
···4343 runOnlyPendingTimersAsync: () => Promise<VitestUtils>
4444 /**
4545 * This method will invoke every initiated timer until the timer queue is empty. It means that every timer called during `runAllTimers` will be fired.
4646- * If you have an infinite interval, it will throw after 10,000 tries (can be configured with [`fakeTimers.loopLimit`](https://vitest.dev/config/#faketimers-looplimit)).
4646+ * If you have an infinite interval, it will throw after 10,000 tries (can be configured with [`fakeTimers.loopLimit`](https://vitest.dev/config/faketimers#faketimers-looplimit)).
4747 */
4848 runAllTimers: () => VitestUtils
4949 /**
5050 * This method will asynchronously invoke every initiated timer until the timer queue is empty. It means that every timer called during `runAllTimersAsync` will be fired even asynchronous timers.
5151- * If you have an infinite interval, it will throw after 10 000 tries (can be configured with [`fakeTimers.loopLimit`](https://vitest.dev/config/#faketimers-looplimit)).
5151+ * If you have an infinite interval, it will throw after 10 000 tries (can be configured with [`fakeTimers.loopLimit`](https://vitest.dev/config/faketimers#faketimers-looplimit)).
5252 */
5353 runAllTimersAsync: () => Promise<VitestUtils>
5454 /**
+1-1
packages/vitest/src/node/core.ts
···14531453 }
1454145414551455 if (!this.reporters.some(r => r instanceof HangingProcessReporter)) {
14561456- console.warn('You can try to identify the cause by enabling "hanging-process" reporter. See https://vitest.dev/config/#reporters')
14561456+ console.warn('You can try to identify the cause by enabling "hanging-process" reporter. See https://vitest.dev/config/reporters')
14571457 }
14581458 }
14591459
+4-4
packages/vitest/src/node/types/browser.ts
···288288 /**
289289 * Enables tracking uncaught errors and exceptions so they can be reported by Vitest.
290290 *
291291- * If you need to hide certain errors, it is recommended to use [`onUnhandledError`](https://vitest.dev/config/#onunhandlederror) option instead.
291291+ * If you need to hide certain errors, it is recommended to use [`onUnhandledError`](https://vitest.dev/config/onunhandlederror) option instead.
292292 *
293293 * Disabling this will completely remove all Vitest error handlers, which can help debugging with the "Pause on exceptions" checkbox turned on.
294294 * @default true
···455455 screenshotDirectory: string
456456 /**
457457 * Absolute path to the project's
458458- * {@linkcode https://vitest.dev/config/#root|root}.
458458+ * {@linkcode https://vitest.dev/config/root|root}.
459459 */
460460 root: string
461461 /**
462462 * Path to the test file, relative to the project's
463463- * {@linkcode https://vitest.dev/config/#root|root}.
463463+ * {@linkcode https://vitest.dev/config/root|root}.
464464 */
465465 testFileDirectory: string
466466 /**
···474474 testName: string
475475 /**
476476 * The value provided to
477477- * {@linkcode https://vitest.dev/config/#attachmentsdir|attachmentsDir},
477477+ * {@linkcode https://vitest.dev/config/attachmentsdir|attachmentsDir},
478478 * if none is provided, its default value.
479479 */
480480 attachmentsDir: string