554 Commits

Author SHA1 Message Date
Dunqing
dff19bc268
docs: update expect.soft related documentation (#3535)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-06-15 10:23:21 +02:00
Ari Perkkiö
821126f165
feat!: add @vitest/coverage-v8 package (#3339) 2023-06-06 19:00:15 +02:00
Nick McCurdy
19ecc6c746
fix!: improve globs (#3392) 2023-06-06 19:00:05 +02:00
Vladimir
1ad63b0c61
feat!: throw an error, if module cannot be resolved (#3307) 2023-06-06 18:59:55 +02:00
Vladimir
a9a8ee7e5b
docs: add experimentalOptimizer?.[mode] documentation (#3526) 2023-06-06 18:58:58 +02:00
Han Feng
15253890e6
feat(runner): support using function/class as describe/test name (#3497) 2023-06-05 14:26:15 +02:00
Vladimir Sheremet
b6c4a6ca3b Revert "feat!: remove transformMode option"
This reverts commit 7983d53752f33ce78447d84f9a4dd78a9bd4d5f5.
2023-06-01 16:46:16 +02:00
Vladimir Sheremet
7983d53752 feat!: remove transformMode option 2023-06-01 16:45:22 +02:00
Vladimir Sheremet
94668725e8 docs: add mention to experimentalOptimizer 2023-06-01 13:22:36 +02:00
Hamir Mahal
c6cd9242b5
docs: improve Timers section of mocking.md (#3482) 2023-06-01 10:46:52 +02:00
Vladimir
5a894aa20e
feat: enable experimentalOptimizer (#3413) 2023-06-01 10:45:49 +02:00
Vladimir
306b233746
fix(vite-node): don't externalize "dist" by default (#3446) 2023-05-30 12:38:26 +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
Alessandro Di Dio
b3602bcc4d
feat(dev): add moduleDirectories option to the vitest config (#3337)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-05-30 10:13:10 +02:00
Ari Perkkiö
1988fcb408
feat(coverage): add reportOnFailure option (#3453)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-05-29 16:05:15 +02:00
Rory O’Kane
f928e9c870
docs(comparisons): add paragraph breaks, improve grammar (#3445) 2023-05-25 10:18:17 +02:00
Vladimir
0f0d75631c
docs: synchronize startVitest API with docs (#3343)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-05-10 17:07:37 +02:00
Vladimir Sheremet
fde628ad3d chore(docs): fix vi.mock example 2023-05-09 15:49:35 +02:00
Lyx
77d071a91f
docs(expect): correct code block mistake (#3304) 2023-05-05 07:05:44 +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
renovate[bot]
25de1a1648
chore(deps): update dependency @vueuse/core to v10 (#3239)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 12:12:46 +02:00
Evan Yang
16b601469f
docs: fix light mode code block style bug (#3267) 2023-05-03 11:36:18 +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
Ari Perkkiö
f1724293f0
docs: specify release version for --bail option (#3288) 2023-05-03 12:21:25 +04:00
winches
190c25f902
docs: add nav config activeMatch (#3249) 2023-04-29 14:26:00 +02:00
Vladimir
0c09a40d2b
feat!: update mock implementation to support ESM runtime, introduce "vi.hoisted" (#3258) 2023-04-27 15:04:05 +02:00
robertgr991
da2f1970b9
docs(config): add "includeSource" option (#3199) 2023-04-27 14:37:14 +02:00
Kirt Rainford
f4cc7e18a0
docs: add link to coverage Config Reference page (#2683) 2023-04-27 12:55:32 +02:00
Ari Perkkiö
730af0b450
feat(coverage): watermarks for c8 (#3254) 2023-04-27 12:54:53 +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
samkevin1
7c8f0ba989
feat: add repeat method to tests (#2652) 2023-04-15 13:00:45 +02:00
Anjorin Damilare
b81ffd9017
docs: update workspace docs (#3157) 2023-04-12 21:07:47 +02:00
Ben Hong
aa22f7979e
docs: improve spyOn example with a contextual example (#3185) 2023-04-12 20:18:16 +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
btea
c51433d074
docs: add chaiConfig note (#3144)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-06 15:52:09 +02:00
btea
6fcba9ba16
feat: add chai config (#3066) 2023-04-06 08:17:01 +02:00
Vladimir Sheremet
7347179aa4 docs: add Vitest version to toMatchFileSnapshot documentation 2023-04-05 21:23:04 +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
btea
fc01d18f23
chore: export mergeConfig (#2949) 2023-04-05 15:09:46 +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