30 Commits

Author SHA1 Message Date
Vladimir
a939779f1d
fix(browser): increment browser port automatically if there are several projects with browser.enabled (#6717) 2024-10-16 08:55:40 +02:00
Ari Perkkiö
5f757900b5
refactor: replace strip-ansi with stripVTControlCharacters from node:util (#6608) 2024-10-02 09:50:19 +02:00
ziebam
028256491d
chore(deps): replace execa with tinyexec (#6454)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-09-06 13:37:19 +02:00
Vladimir
afdcb8f2b3
fix(workspace): correctly resolve workspace globs and file paths (#6316) 2024-08-12 19:13:28 +02:00
Ari Perkkiö
34199bdf9a
feat(browser): support v8 coverage (#6273) 2024-08-12 16:05:16 +02:00
Vladimir
717bb2ea51
test: make watcher tests more stable on Mac OS (#6136) 2024-07-15 15:19:02 +02:00
Vladimir
583dd8a986
feat(vitest)!: add "vitest list" API to print collected tests without running them (#6013) 2024-07-03 17:51:33 +02:00
Vladimir
49e973cb92
feat(browser): add "init" command for browser tests (#5960) 2024-06-25 15:22:51 +02:00
Vladimir
471cf97b0c
chore: always require curly braces (#5885)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-06-16 18:10:10 +02:00
Vladimir
7b2f64cfa3
feat: implement module mocking in browser mode (#5765) 2024-05-31 11:19:38 +02:00
Vladimir
f232fdd618
fix!: don't exit process if config failed (#5715) 2024-05-13 16:40:29 +02:00
Vladimir
bcccce6df6
fix!: add correct location and snapshot fields in json reporter (#5434) 2024-05-07 12:36:58 +02:00
Vladimir
959247e90f
refactor: remove old and outdated examples (#5611) 2024-04-30 12:27:01 +02:00
Vladimir
7c993e9454
test: standardising internal test (#5600) 2024-04-26 15:43:27 +02:00
Ari Perkkiö
780b187f22
feat(api): startVitest() to accept stdout and stdin (#5493) 2024-04-23 15:09:20 +02:00
Ari Perkkiö
2a8e2fbf90
test: use startVitest instead of execa (#5439) 2024-03-31 11:09:28 +02:00
Ari Perkkiö
e77c553ffb
fix: --inspect-brk to pause before execution (#5355) 2024-03-14 15:55:06 +01:00
Vladimir
8877e22a09
fix(vitest): use development/production conditions when resolving external modules (#4980) 2024-01-17 11:20:43 +01:00
Vladimir Sheremet
ac66481c86 chore: fix test package names 2024-01-11 14:06:00 +01:00
Vladimir Sheremet
2aafabc61d chore: update package.json 2023-11-10 13:24:26 +01:00
Vladimir Sheremet
dd7ae1f46a chore: add type: module, remove old examples 2023-11-10 13:24:26 +01:00
Ari Perkkiö
8b4a44ad16
feat!: support multiple parallel child_process (#3925) 2023-09-27 09:39:26 +02:00
Stefan Vojvodic
c03faa2204
feat(coverage): add allowExternal option (#3894)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2023-08-21 18:34:40 +02:00
Vladimir
0c53e0981a
fix: don't crash when using --experimental-vm-threads, interop CJS default inside node_modules (#3876) 2023-08-03 11:41:14 +02:00
Vladimir
c9aeac4cf2
feat: running vitest with --related --watch reruns non-affected tests if they were changed during a run (#3844) 2023-07-30 13:07:22 +02:00
Vladimir
7f4f35b126 test: improve waitForStdout stacktrace 2023-07-29 21:32:53 +02:00
Vladimir
54409a2733
chore: improve helpers to test vite-node (#3842) 2023-07-29 19:46:40 +02:00
Ari Perkkiö
5b73cbf8eb
fix(watch): junit reporter fails to re-generate report (#3496) 2023-06-05 14:25:17 +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
Ari Perkkiö
9fbb8d31b6
test: reduce usage of execa, add runVitest test utils (#3436) 2023-05-24 09:15:52 +02:00