mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
* refactor(docs): mocking restructure * refactor: move mocking docs into its own section * refactor(wip): moved everything to API, examples incoming * fix: adhere to indenting + heading syntax fix * fix: made a list of all `types` * refactor: show both structures on preview link * refactor: reverted guide/mocking structure as there is now less content * fix: adjusted some of the content * refactor: added use-case facing example for mocking dates * refactor: added example to function mocking guides section * refactor(wip): removed `dummy` examples that are still being worked on * refactor: nav structure for CLI * fix: added timer example to mock sections * fix: add simple module mocking example * chore: code formatting consistency * refactor: apply code review suggestions in batch Co-authored-by: Sam Richard <snugug@google.com> * refactor: mocking functions rewrite * fix(links): made relative links absolute * fix(links): made relative links absolute for the api page * refactor: update module mocking example * docs: minor fixes Co-authored-by: Sam Richard <snugug@google.com> Co-authored-by: Vladimir <sheremet.va@icloud.com>