207 Commits

Author SHA1 Message Date
Arya Emami
3fdee3da8b
chore: fix various typos (#7663) 2025-03-14 09:20:41 +01:00
btea
7155aefa36
chore: use pnpm catalog (#7590) 2025-03-07 14:10:38 +01:00
Ari Perkkiö
f31a07bb35
fix(coverage): preserve moduleExecutionInfo in non-isolated runs (#7486) 2025-02-13 19:23:37 +02:00
Vladimir
01b91b5eff
test: temporary patch to unblock CI (#7485) 2025-02-13 16:49:35 +01:00
Ari Perkkiö
1f2e55522a
fix(coverage): vite-node to pass correct execution wrapper offset (#7417) 2025-02-13 17:13:22 +02:00
Ari Perkkiö
cb48e64e35
test(coverage): format snapshots with formatSummary (#7482) 2025-02-13 17:12:41 +02:00
Ari Perkkiö
5e21181186
test: replace browser.name with browser.instances (#7477) 2025-02-13 17:11:26 +02:00
Hiroshi Ogawa
12eaf3ea43
chore: cleanup deps (#7434) 2025-02-06 12:43:33 +02:00
Hiroshi Ogawa
b997355be7
fix(vite-node): remove fake first line mapping on Vite 6 (#7124) 2025-02-05 08:29:57 +02:00
Ari Perkkiö
b526896511
fix(coverage)!: always exclude test files (#7254) 2025-01-15 17:40:22 +01:00
Vladimir
766624abd6
feat: introduce the new reporter API (#7069)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-01-14 16:46:44 +01:00
Arya Emami
8dd2071376
chore: fix various typos (#7054) 2025-01-08 14:21:45 +01:00
Vladimir
78b62ffe1d
feat: allow multi-browser configuration (#6975) 2024-12-19 14:21:41 +01:00
Jonah Kagan
bde98b6d4c
feat(coverage): thresholds to support maximum uncovered items (#7061) 2024-12-17 20:29:16 +02:00
Vladimir
9a1b501223
feat: prepare the Vitest API to be stable (#6962) 2024-12-10 11:12:47 +01:00
Ari Perkkiö
426ce6d8f9
fix(coverage): correct coverage when isolate: false is used (#6957) 2024-12-09 13:41:40 +02:00
Hiroshi Ogawa
7b35d13a6f
fix(typecheck): fix typecheck collect on Vite 6 (#6972) 2024-11-27 10:18:55 +01:00
Ari Perkkiö
e04a13689a
fix(coverage): exclude browser mode iframe results (#6905) 2024-11-18 15:07:31 +01:00
Vladimir
171041af5e
refactor: merge TestProject with WorkspaceProject (#6906)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-11-18 10:54:09 +01:00
Hiroshi Ogawa
80f8bbf4ab
fix: misc fix for vite 6 ecosystem ci (#6867) 2024-11-14 10:18:31 +01:00
Ari Perkkiö
487c80ae58
fix(coverage): report uncovered files when re-run by enter or 'a' (#6848) 2024-11-05 12:17:27 +01:00
Hiroshi Ogawa
de74785e05
chore(deps): update @antfu/eslint-config v3.8.0 (#6751) 2024-10-23 13:18:42 +02:00
Vladimir
121b161fa8
fix(vitest): print warnings form Vite plugins (#6724) 2024-10-18 10:26:20 +02:00
Ari Perkkiö
62ac4eb1bc
chore(deps): update magic-string (#6711) 2024-10-15 11:37:23 +02:00
Hiroshi Ogawa
7abc4ab6d8
chore(deps): update vue (#6709) 2024-10-15 10:39:38 +02:00
renovate[bot]
d260cef634
chore(deps): update all non-major dependencies (#6360)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-10-14 13:43:10 +02:00
Ari Perkkiö
7155cee210
refactor(coverage): move re-usable parts to base provider (#6665) 2024-10-11 10:22:08 +03:00
Ari Perkkiö
88bde99cda
fix(coverage): cleanOnRerun: false to invalidate previous results (#6592) 2024-10-02 09:54:43 +02:00
Ari Perkkiö
5f757900b5
refactor: replace strip-ansi with stripVTControlCharacters from node:util (#6608) 2024-10-02 09:50:19 +02:00
Ari Perkkiö
1371ca6a6f
fix(coverage): remove empty coverage folder on test failure too (#6547) 2024-09-25 08:32:43 +03:00
renovate[bot]
84a066af0e
chore(deps): update dependency @antfu/eslint-config to v3 (#6435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-09-02 10:16:37 +02:00
Ari Perkkiö
da52d23fd1
fix(coverage): use project specific vitenode for uncovered files (#6044) 2024-08-20 09:43:32 +02:00
Ari Perkkiö
5932a7f988
feat(coverage): add --exclude-after-remap (#6309) 2024-08-12 16:05:53 +02:00
Ari Perkkiö
34199bdf9a
feat(browser): support v8 coverage (#6273) 2024-08-12 16:05:16 +02:00
Ari Perkkiö
91dea8c146
fix(coverage): v8 to warn instead of crash when conversion fails (#6318) 2024-08-12 13:03:03 +02:00
Ari Perkkiö
1f6cb59f13
fix(coverage): v8 to support source maps with multiple sources (#6120)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-08-12 13:02:44 +02:00
Ari Perkkiö
e662c7b2c3
fix(coverage): warn if vitest and @vitest/* versions don't match (#6317) 2024-08-12 13:02:12 +02:00
Vladimir
7f0ae292ce
fix(browser): produce valid config file if preview provider is used (#6305) 2024-08-08 18:12:56 +02:00
Vladimir
7b37d27ba7
fix: don't panic when coverage.reporter is a string (#6267) 2024-08-02 13:21:32 +02:00
Vladimir
3aab8a1ed6
refactor: deprecate all config types from the main Vitest entrypoint, introduce SerializedConfig type (#6205) 2024-07-23 19:28:59 +02:00
Ari Perkkiö
5da45db152
fix(coverage): ignore *.cts files (#6189) 2024-07-22 11:00:38 +02:00
Ari Perkkiö
9057614855
fix(coverage): consistent type-only file handling (#6183) 2024-07-22 10:59:50 +02:00
Thor Juhasz
f68453f891
feat(coverage): add thresholds.<glob>.100 option (#6174)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-07-21 17:20:00 +03:00
Thor Juhasz
02e3f00370
fix(coverage): global thresholds to include files from glob thresholds (#6172)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-07-21 16:51:19 +03:00
renovate[bot]
f55dc0081d
chore(deps): update all non-major dependencies (#6046)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-07-15 17:10:15 +02:00
Ari Perkkiö
368c137281
fix(coverage): remove work-around for implicit else (#6014) 2024-07-02 13:14:20 +02:00
Ari Perkkiö
169bc1fde4
fix(coverage): support overriding exclude (#5997) 2024-07-01 09:20:17 +02:00
Dylan Yang
2898a525d3
fix(coverage): istanbul to support import attributes (#6006) 2024-07-01 09:07:58 +03:00
Ari Perkkiö
19e9babfd9
test(coverage): refactor testing structure (#5837) 2024-06-24 10:31:42 +03:00
Joaquín Sánchez
cee82e4735
chore: enable eslint in vue files (#5902) 2024-06-17 11:58:55 +02:00