41 Commits

Author SHA1 Message Date
Vladimir
973ba37403
chore: update eslint config package (#5870) 2024-06-11 16:31:37 +02:00
Vladimir Sheremet
ee27e48733
docs: remove mentions of deleted examples from docs 2024-05-23 08:53:58 +02:00
Ashley Engelund
08c79d6c67
docs: Improve formatting and readability of the Mocking / Cheat Sheet section (#5632) 2024-04-29 13:23:24 +02:00
btea
20357e2e20
docs: add @shikiji/vitepress-twoslash (#5483) 2024-04-08 14:19:12 +02:00
Maximiliano Kazanski
b48586b51c
docs: fix links and badges error (#5239) 2024-02-20 14:19:33 +01:00
renovate[bot]
7a31a1ae42
chore(deps): update dependency @antfu/eslint-config to v2 (#5153) 2024-02-08 17:33:12 +01:00
Paul
2c5d192a0b
docs: use same pattern in examples (#5051) 2024-01-30 22:51:45 +01:00
Artem Zakharchenko
2b911d21f3
docs(mocking): fix broken msw links (#4714) 2023-12-09 12:23:52 +01:00
Vladimir Sheremet
ee3c6d8524 docs: add virtual modules section 2023-12-04 16:44:03 +01:00
Vladimir
2ff35330b2
docs: add section about mocking methods inside the same file (#4611)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-11-29 10:34:58 +01:00
Pascal Jufer
cb87f44e76
docs: fix grammar/stylistic issues (#4534)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-11-28 13:37:07 +01:00
Alex Nicholls
6a149a644a
docs: Update incorrect import in request mocking example (#4527) 2023-11-18 09:30:01 +01:00
Vladimir
0ccf5ac57e
docs: update msw example (#4502) 2023-11-15 16:43:02 +01:00
Hamir Mahal
c6cd9242b5
docs: improve Timers section of mocking.md (#3482) 2023-06-01 10:46:52 +02:00
Vladimir
b9d1a97599
feat!: add workspace support (#3103) 2023-04-09 15:12:26 +02:00
renovate[bot]
0f86ff9897
chore(deps): update all non-major dependencies (#2766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-06 16:53:03 +02:00
Vladimir
313032cdf9
fix: move "mergeConfig" into "vitest/config" and add extension to imports in the documentation (#3139) 2023-04-05 18:39:24 +02:00
Cue
9a0002be7c
docs: fix broken links (#2739) 2023-02-11 13:47:57 +01:00
Lioness100
2f87505ffd
docs: fix typos (#2815) 2023-02-08 11:30:35 +01:00
Vladimir
b114d49f50
feat: introduce a native way to set env and globals (#2515)
* feat: introduce a native way to set env and globals

* chore: cleanup

* chore: cleanup

* chore: cleanup

* docs: cleanup
2022-12-16 16:19:17 +01:00
Mohammad Bagher Abiat
93a0f4277d
docs: benchmarking and tinybench (#2059) 2022-09-20 11:12:20 +08:00
Filip Tammergård
5c06494412
docs: update timer mocking section (#1953) 2022-09-02 13:53:11 +08:00
Joe Zimmerman
3ecc91ef98
docs: a few spelling/grammar fixes (#1701)
* Fix typos and enhance grammar.

* Merge branch 'main'

* Apply suggestions from code review

Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>

Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2022-07-24 09:47:29 +03:00
Joe Zimmerman
7306994394
docs: typos (#1686) 2022-07-22 14:27:36 +08:00
Joaquín Sánchez
235cfa7eea
docs: add section title in guide pages (#1583) 2022-07-15 00:28:28 +08:00
Vladimir
5b837f9472
docs: improve wording in mocking cheat sheet (#1617)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-07-09 15:22:21 +08:00
Vladimir
adf82b3f68
docs: add mocking cheat sheet (#1536)
* docs: add mocking cheat sheet

* docs: fix modules mocking example
2022-06-24 13:28:56 +00:00
Zac Hayes
ddd4a9552a
docs(mocking): fix Timers example (#1333) 2022-05-20 16:50:33 +08:00
Anthony Fu
713c870a55 chore: lint 2022-04-25 19:44:30 +08:00
lexmin0412
cdf61b2ec9
docs: add missing imports (#1186) 2022-04-25 01:03:13 +08:00
Vladimir
15829489eb
feat: stubGlobals helper (#1079) 2022-04-03 00:10:50 +08:00
Lukas
6262c292a2
docs: fix link to global configuration (#929) 2022-03-12 20:52:02 +01:00
Anthony Fu
621300d0a0 chore: lint for md and json 2022-03-08 03:30:59 +08:00
Sebastian Martinez
14df68dac1
docs: wrong link in module mocking (#858) 2022-02-25 21:29:54 +01:00
Vladimir
cf30e5a46f
feat!: mocking timers with sinon (#531) 2022-01-23 09:43:00 +03:00
wjx0820
b2b5321de2
docs: fix typo (#556) 2022-01-17 10:29:46 +01:00
Danny Feliz
09cb89051a
docs: fix link (#536) 2022-01-15 10:46:36 +08:00
Mitchel van Bever
b66f6dc738
docs: refactor mocking restructure (#441)
* 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>
2022-01-14 15:56:42 +01:00
Vladimir
1b69729e28
docs: using vi instead of jest 2021-12-25 15:10:49 +03:00
Yugang Cao
cfe01ac5c7
chore: typo (#247)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-12-21 12:51:54 +08:00
Vladimir
aa08ef4c7e
docs: mocking documentation (#225) 2021-12-20 16:34:39 +01:00