274 Commits

Author SHA1 Message Date
eleith
06faf8ad49
fix: make automocking aware of symbol indexed methods (#1119)
Co-authored-by: eleith <online-github@eleith.com>
2022-04-08 02:10:19 +08:00
renovate[bot]
16684b2ae2
chore(deps): update all non-major dependencies (#1094)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 10:56:54 +08:00
Anthony Fu
db824cf434 chore: apply lint 2022-04-03 16:35:29 +08:00
Vladimir
885b25d4f2
fix: automocking prototype fix (#1083) 2022-04-03 15:55:02 +08:00
Anthony Fu
93c57df948 chore: ungrade user-event 2022-04-02 00:43:28 +08:00
Anthony Fu
cadefe5686 chore: update example 2022-04-02 00:33:10 +08:00
Anthony Fu
43f681914a chore: update deps 2022-04-02 00:30:52 +08:00
Cédric Exbrayat
2be420f982
docs: use jsdom for vue examples (#1059)
The VTU team got several reports of errors with happy-dom,
that developers tried after seeing it in the Vitest examples.
Switching to jsdom generally fixes the issue (and this is what create-vue uses as well).

This commit switches the Vue examples from happy-dom to jsdom.
2022-03-31 18:16:28 +08:00
renovate[bot]
ffa0228034
chore(deps): update all non-major dependencies (#1042)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-28 10:13:38 +08:00
renovate[bot]
a1cab8ee30
chore(deps): update all non-major dependencies (#995)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-21 18:50:28 +08:00
Anthony Fu
7386bbc9ef chore: update deps 2022-03-16 15:53:00 +08:00
patak
26238a51b0
docs: remove outdated examples (#941) 2022-03-15 21:30:32 +08:00
Anthony Fu
20ef23fdbd chore: upgrade deps 2022-03-14 06:42:24 +08:00
Rob Caldecott
2e8a3b105d
feat: added nextjs example (#920)
* feat: added nextjs example

* chore: update

* chore: simplify nextjs demo

Co-authored-by: Rob Caldecott <robert.caldecott@keyloop.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-03-14 06:33:20 +08:00
wael-Fadlallah
d3182522db
chore: update defineConfig to be imported from vitest (#919) 2022-03-10 20:37:13 +08:00
Vladimir
094d23ebff
fix: resolve dynamicly imported modules to be the same as statically (#911) 2022-03-09 15:21:28 +08:00
Anthony Fu
621300d0a0 chore: lint for md and json 2022-03-08 03:30:59 +08:00
Anthony Fu
3eec387db6
feat: support in-source tests via import.meta.vitest (#901) 2022-03-07 22:06:23 +08:00
Anthony Fu
638fd6c081 chore: update deps 2022-03-07 20:25:45 +08:00
Anthony Fu
d42292a5d2 chore: update deps 2022-03-04 00:13:06 +08:00
patak
1b6406368c
chore: stackblitz config in package.json (#883) 2022-03-03 00:06:37 +08:00
翠 / green
1fcb4ede3d
fix: unhandled error handler (#876)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-03-01 13:32:10 +08:00
Janosh Riebesell
4858541f36
docs: add svelte-multiselect to projects using Vitest (#867)
* add svelte-multiselect to projects using Vitest

* fix typos

* Update docs/api/index.md

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-02-28 18:21:14 +08:00
Alex Lohr
1335d5c9bc
docs: add atk's official solid test case in examples (#866) 2022-02-28 16:28:24 +08:00
Anthony Fu
03e31e4b90 chore: update deps 2022-02-28 04:14:20 +08:00
Anthony Fu
d8129ae77b chore: upgrade deps 2022-02-22 13:17:20 +08:00
patak
7291176db4
docs: update examples, support no online playground (#812) 2022-02-21 13:19:45 +08:00
Vladimir
8213446183
fix: remove ?import from query, so .[ext]$ checks will pass (#786) 2022-02-18 05:06:25 +00:00
Vladimir
7014c2b155
chore: make mock assertion compatible with jest (#778) 2022-02-18 11:14:54 +08:00
Anthony Fu
6e65e368c5 chore: update deps 2022-02-14 20:02:42 +08:00
Anthony Fu
d4415fe112
fix: describe async support (#750)
* Revert "fix: remove `describe` async support (#746)"

This reverts commit f9b52c1be16329a0ca5ae5d67a4b3141b4389714.

* fix: collect nested suite serially
2022-02-14 14:48:48 +08:00
stygian-desolator
f9b52c1be1
fix: remove describe async support (#746) 2022-02-14 06:35:25 +01:00
stygian-desolator
dca5b9a110
docs(example): add missing type reference (#738) 2022-02-12 15:11:24 +08:00
patak
8283b2ab33
chore(deps): bump vite to 2.8.1 in devDependencies (#730)
Co-authored-by: Ivan Demchuk <ivan.demchuk@gmail.com>
2022-02-12 13:24:16 +08:00
patak-dev
597db8c05c chore: run update-examples 2022-02-11 07:11:40 +01:00
patak
506cc203b3
docs: StackBlitz playgrounds using initialPath (#729) 2022-02-10 19:32:22 +01:00
Anthony Fu
d520f1ebd5 chore: increase timeout for windows ci 2022-02-10 16:01:25 +08:00
Anthony Fu
9c7a1970a9 chore: update deps 2022-02-08 09:12:00 +08:00
Anthony Fu
c8549f5fcc chore: update deps 2022-02-03 10:29:47 +08:00
Ivan Demchuk
4add1ebf9b
fix: update tinyspy with a fix for class mocks (fix #645) (#646) 2022-01-28 06:20:58 +08:00
Anthony Fu
374f9890b4 chore: update deps 2022-01-27 08:16:21 +08:00
Ivan Demchuk
36e6207403
docs: use vitest run mode for coverage examples (fix #602) (#611) 2022-01-23 18:11:56 +08:00
Anthony Fu
1b2406c078 chore: update deps 2022-01-19 13:34:06 +08:00
Vladimir
4dbefb59cd
feat: vi.mock can be called inside external libraries (#560)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-01-19 04:39:41 +08:00
patak
22d2deda69
refactor: rename global to globals (#565) 2022-01-18 13:16:44 +08:00
Anjorin Damilare
7259a0627a
chore: import neccessary apis on features example (#567) 2022-01-18 13:15:49 +08:00
Sajad-Sharhani
e475d2d20b
test: graphql mock example (#550) 2022-01-17 18:18:51 +08:00
Horacio Herrera
9626fdef58
test: update RTL example (#530)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-01-15 10:59:11 +08:00
Joaquín Sánchez
412dae9f6d
fix: update ws to fix stackblitz ui (#537) 2022-01-14 22:11:02 +01:00
Anthony Fu
faffdfdb01 chore: update deps 2022-01-14 11:45:41 +08:00