[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

docs: remove reference to vi.restoreCurrentDate() from doc (does not exist) (#4160)

authored by

Anthony Blond and committed by
GitHub
(Sep 22, 2023, 11:00 AM +0200) 1f0249ee 859d2368

-6
-6
docs/api/vi.md
··· 398 398 399 399 Will call [`.mockRestore()`](/api/mock#mockrestore) on all spies. This will clear mock history and reset its implementation to the original one. 400 400 401 - ## vi.restoreCurrentDate 402 - 403 - - **Type:** `() => void` 404 - 405 - Restores `Date` back to its native implementation. 406 - 407 401 ## vi.stubEnv 408 402 409 403 - **Type:** `(name: string, value: string) => Vitest`