229 Commits

Author SHA1 Message Date
Ari Perkkiö
821126f165
feat!: add @vitest/coverage-v8 package (#3339) 2023-06-06 19:00:15 +02:00
Vladimir
1ad63b0c61
feat!: throw an error, if module cannot be resolved (#3307) 2023-06-06 18:59:55 +02:00
Hamir Mahal
c6cd9242b5
docs: improve Timers section of mocking.md (#3482) 2023-06-01 10:46:52 +02:00
Vladimir
e39adea838
feat: pass down meta information to Node.js process (#3449)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-05-30 11:16:27 +02:00
Rory O’Kane
f928e9c870
docs(comparisons): add paragraph breaks, improve grammar (#3445) 2023-05-25 10:18:17 +02:00
btea
04eaba4ed8
docs: filtering update demo (#3240) 2023-05-04 17:24:30 +02:00
renovate[bot]
48c4e8c68b
chore(deps): update all non-major dependencies (#3238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-05-04 08:18:01 +02:00
Vladimir
cf3afe2bea
feat!: move assertion declarations to expect package (#3294) 2023-05-03 18:25:38 +02:00
Joaquín Sánchez
e24cd9b2cc
feat(ui): add html coverage (#3071)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-05-03 11:23:44 +02:00
Nathan Babcock
c7da155f77
fix(docs): correct typo and broken link to WebdriverIO (#3275) 2023-05-03 11:22:35 +02:00
Agarkov Roman
bf8e8a1bd1
chore: add details to coverage docs (#3279)
Co-authored-by: Roman Agarkov <agarkovromachka@mail.ru>
2023-05-03 11:22:03 +02:00
Kirt Rainford
f4cc7e18a0
docs: add link to coverage Config Reference page (#2683) 2023-04-27 12:55:32 +02:00
Ari Perkkiö
8d4606eb01
feat(watch): test run cancelling, feat: --bail option for cancelling test run (#3163) 2023-04-26 21:04:30 +02:00
Jerry Wang
97b1b4a36a
docs: fix typo (#3247) 2023-04-25 09:40:01 +02:00
Anjorin Damilare
b81ffd9017
docs: update workspace docs (#3157) 2023-04-12 21:07:47 +02:00
Chris
000bca9788
docs: update unocss link (#3167) 2023-04-11 09:56:38 +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
Samuel Bodin
74b7ab005a
docs: update extend matcher (#3123)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-05 18:38:04 +02:00
Mohammad Bagher Abiat
affc6d82d6
docs: add the motivation section for more context (#3104)
Co-authored-by: Christian Bromann <git@bromann.dev>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-05 10:05:02 +02:00
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
446308da9d
feat!: use "concordance" package to display diff instead of using custom diff (#2828) 2023-03-29 14:16:52 +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
btea
8ac829e266
docs: update snapshot comment header (#3062) 2023-03-23 10:10:22 +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
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
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
Ari Perkkiö
63c62f9e6f
feat: --test-timeout CLI argument (#3019) 2023-03-18 21:55:54 +01:00
Ari Perkkiö
36087d1edf
fix: --inspect to work inside workers (#2983) 2023-03-15 20:44:15 +01:00
Wenzhe Wang
26265b3533
docs: add notes about migrating replaceProperty (#2871) 2023-03-07 18:26:56 +01:00
Karol Stawowski
cdfdb20cfa
docs: add bench command to cli documentation (#2948)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2023-03-07 18:25:10 +01:00
Carlo Beltrame
70fa4e86fd
docs(migration): mention "vi.importActual" (#2927) 2023-02-28 16:11:51 +01:00
Christian Bromann
855047d511
docs: add WebdriverIO to framework comparison section (#2894) 2023-02-22 12:57:32 +01:00
Kristina Pchelintseva
20c1c849ac
docs: add information about built-in support for Vitest in JB IDEs (#2865) 2023-02-21 21:04:57 +01:00
Joshua Nussbaum
8ab33f1e97
revert: "docs: add instructions for debugging tests via terminal" (#2869) 2023-02-21 15:03:09 +01:00
Tom Thumb
b67a5fbdf9
docs: update snapshot section to provide details on how to use with concurrent test (#2733)
Co-authored-by: Tom Thumb <github@asdfjkalsdfla.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-02-14 18:05:21 +01:00
Trivikram Kamat
9e03f2b8ad
docs: difference from jest in snapshots with custom messages (#2863)
Fixes https://github.com/vitest-dev/vitest/issues/2853
2023-02-14 13:12:16 +01:00
Ari Perkkiö
81604bcee0
fix(coverage): custom providers to work inside worker threads (#2817) 2023-02-13 13:28:52 +01:00
btea
d53418450a
chore: update link attribute (#2800)
* chore: update link attribute

* chore: update
2023-02-11 14:07:58 +01:00
Cue
9a0002be7c
docs: fix broken links (#2739) 2023-02-11 13:47:57 +01:00
Trivikram Kamat
c29f1761ec
docs: jest <29.0.0 has config printBasicPrototype set to true (#2830) 2023-02-08 11:37:11 +01:00
Lioness100
2f87505ffd
docs: fix typos (#2815) 2023-02-08 11:30:35 +01:00
Ari Perkkiö
c0f91beba4
docs(coverage): c8 ignore hints actually work (#2755) 2023-02-03 10:36:46 +01:00
IKoshelev
72cb4db1a3
docs: added hint to debug via JavaScript Debug Terminal (#2653)
Added description and screenshot how to debug Vitest tests with JavaScript Debug Terminal
2023-02-03 10:36:13 +01:00
Anthony Fu
a9878c515f
docs: add docs about environmentMatchGlobs (#2750)
* docs: add docs about `environmentMatchGlobs`

* Update docs/guide/environment.md

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

Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-01-25 16:08:48 +01:00
Mohammad Kermani
8c625d2a10
docs(cli): suggest --run flag when using vitest related with lint-staged (#2704)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-01-23 16:50:51 +01:00