2482 Commits

Author SHA1 Message Date
Anthony Fu
bdc06dcbc4
feat(snapshot): introduce toMatchFileSnapshot and auto queuing expect promise (#3116) 2023-04-03 16:03:46 +02:00
Guo Xingjun
035230b497
docs: typo (#3114) 2023-04-02 09:48:10 +02:00
Vladimir Sheremet
326b242d8a fix: don't show "diff" in "serialized error" section 2023-03-30 10:08:25 +02:00
Vladimir
6aff0176db
feat!: move snapshot implementation into @vitest/snapshot (#3032) 2023-03-29 15:35:51 +02:00
Vladimir
446308da9d
feat!: use "concordance" package to display diff instead of using custom diff (#2828) 2023-03-29 14:16:52 +02:00
Daniel Tschinder
287dc20581
fix!: only support Node.js 14.18.0 or newer (#2985) 2023-03-29 14:16:30 +02:00
Ari Perkkiö
26b94136a4
ci: reduce running duplicate tests (#3093) 2023-03-29 14:15:10 +02:00
Vladimir
2f1dc5ced3
feat!: remove tinyspy internal properties on Vitest spies (#3069) 2023-03-29 14:14:48 +02:00
Vladimir
93c7e39dfe
fix: resolve reporters passed down to the CLI relative to the running directory (#3097) 2023-03-29 13:56:18 +02:00
Vladimir Sheremet
42435d6661 chore: release v0.29.8 v0.29.8 2023-03-28 15:11:28 +02:00
Vladimir Sheremet
98e16def67 chore: license 2023-03-28 15:11:17 +02:00
Ari Perkkiö
2cb91211d7
fix: report coverage even when no tests found (#3091) 2023-03-28 11:41:57 +00:00
Vladimir
0f44d2c81f
feat: implement istanbul coverage support for browser testing (#3040)
Co-authored-by: AriPerkkio <ari.perkkio@gmail.com>
2023-03-28 11:13:48 +02:00
jonathan-graf
09fec8464b
docs: elaboration for resetModules (#3059)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-03-27 12:11:39 +02:00
Mohammad Bagher Abiat
9dc6929380
feat: playwright as browser provider (#3079)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-03-27 11:52:14 +02:00
Mohammad Bagher Abiat
280ad1ed9b
fix: spy on popup apis like alert (#3076)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-03-26 10:05:12 +02:00
Anthony Fu
efb91e2227
docs: upate funding 2023-03-24 21:59:37 +01:00
Anthony Fu
7d825c8f5f
docs: add OC link to sponsorship 2023-03-24 11:51:27 +01:00
Tim Griesser
196a067a42
fix: handle cloning proxied classes w/ enumerable getters (#3026) 2023-03-24 11:05:44 +01:00
Vladimir
6efe61ab77
fix: do not fail, when primitive error is thrown (#3074) 2023-03-24 09:00:06 +01:00
Vladimir
908edc2451
chore: update browser README 2023-03-23 19:03:37 +01:00
btea
9d4472d06d
chore: update snapshot url (#3067) 2023-03-23 15:37:42 +01:00
Ólafur Waage
96da6c10ef
docs: very minor grammar changes in expect.md (#3068) 2023-03-23 15:16:55 +01:00
Artymaury
69d2cc93b7
fix: add generic to expect.objectContaining type (#3053) 2023-03-23 14:32:37 +01:00
btea
8ac829e266
docs: update snapshot comment header (#3062) 2023-03-23 10:10:22 +01:00
btea
f6e0ede661
chore: update snapshot url (#3063) 2023-03-23 10:10:02 +01:00
Vladimir
ee6f590dfe
feat: show browser console in the terminal (#3048) 2023-03-22 16:36:37 +01:00
Azri Kahar
051bb65719
docs: fix cac's dot notation reference link (#3049) 2023-03-21 09:03:47 +01:00
Azri Kahar
b0ce2325a7
docs: fix typo in browser mode guide (#3050) 2023-03-21 09:03:27 +01:00
Vladimir
1531c4208d
feat: allow accessing "vi" methods without context, don't fail when mocker is not available (#3047) 2023-03-20 22:59:16 +01:00
Vladimir Sheremet
9150a268d8 chore: release v0.29.7 v0.29.7 2023-03-20 21:36:59 +01:00
Vladimir Sheremet
401c14a1df chore: specify that browser depends on ui 2023-03-20 21:36:53 +01:00
Vladimir Sheremet
20c510c472 fix: import @vite/client in browser code for handling optimizer 2023-03-20 21:36:09 +01:00
Vladimir Sheremet
82948110d2 chore: release v0.29.6 v0.29.6 2023-03-20 21:23:08 +01:00
Vladimir Sheremet
14091c59ba fix: bundle UI with @vitest/browser 2023-03-20 21:22:47 +01:00
Vladimir Sheremet
be344518b4 chore: release v0.29.5 v0.29.5 2023-03-20 15:11:38 +01:00
Cédric Exbrayat
865d1afd59
fix(browser): relax vitest peer dependency (#3039) 2023-03-20 15:11:15 +01:00
Vladimir Sheremet
4148d80d83 chore: release v0.29.4 v0.29.4 2023-03-20 14:39:53 +01:00
Vladimir Sheremet
cfe98ee143 chore: cleanup license 2023-03-20 14:39:46 +01:00
Vladimir Sheremet
b13138e66e docs: mark browser as 0.29.4 feature 2023-03-20 14:39:37 +01:00
Mohammad Bagher Abiat
9cdc8030d0
feat: webdriverio (+ custom providers) integration for browser mode (#2999)
Co-authored-by: Christian Bromann <git@bromann.dev>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
Co-authored-by: userquin <userquin@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-03-20 14:37:23 +01:00
Vladimir
cc5779d69c
fix: escape XML in error stack trace when using junit reporter (#3038) 2023-03-20 13:52:28 +01:00
yoho
a768015e64
feat: support relative path in html report (#2695)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-03-20 13:06:54 +01:00
Patrick
0cf44098e3
fix: mocking value proxy filter Symbol static properties (#3036) 2023-03-20 11:17:41 +01:00
Vladimir
29c49528c6
refactor: move module mocking transforms out of plugins (#2993) 2023-03-20 11:17:24 +01:00
Ari Perkkiö
0ddf72205a
feat: process timeout to log names of stuck test files (#3031) 2023-03-20 09:44:39 +01:00
Vladimir
c7f0c86bdf
feat: add an option to control Vitest pool with filepath (#3029) 2023-03-19 10:02:48 +01:00
Vladimir
13005b3669
chore: fix typescript performance (#3030) 2023-03-19 10:02:12 +01:00
Vladimir
8d97f49a3b
chore: update lockfile (#3028) 2023-03-19 00:19:16 +01:00
Ari Perkkiö
63c62f9e6f
feat: --test-timeout CLI argument (#3019) 2023-03-18 21:55:54 +01:00