151 Commits

Author SHA1 Message Date
Vladimir
a1cb9719a4
fix!: remove deprecated APIs (#8428) 2025-08-12 18:25:50 +02:00
Copilot
7ff9c67ac5
docs: update Testing Types docs to use non-deprecated expect-type API and add toMatchObjectType documentation (#8397)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sheremet-va <16173870+sheremet-va@users.noreply.github.com>
2025-08-09 22:44:27 +02:00
Shinobu Hayashi
010fc55b52
fix(vitest): override config.include option with config.browser.instances[].include option if it is specified (#8260) 2025-08-04 13:17:14 +02:00
Vladimir
9be01ba594
feat!: use module-runner instead of vite-node (#8208)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-07-28 13:43:53 +02:00
Noritaka Kobayashi
02da20864c
chore: fix typos (#8179) 2025-07-22 18:02:11 +02:00
Vladimir
0417a2c1af
fix: forbid setting environment to browser (#8334) 2025-07-22 17:59:01 +02:00
Vladimir
497cb94498
test: don't use __dirname and __filename in tests and configs (#8314) 2025-07-15 15:02:19 +02:00
Shinobu Hayashi
7b489959a0
fix: distribute test files to shards more evenly (#8288)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-07-12 10:10:44 +03:00
Vladimir
76fb75d424
fix!: remove deprecated workspace option in favor of projects (#8218) 2025-06-25 14:56:40 +02:00
Vladimir
be11d374ca
fix!: remove deprecated environmentMatchGlobs and poolMatchGlobs (#8205) 2025-06-22 09:59:03 +02:00
Vladimir
1e60c4f440
fix!: remove Node types from the main entry point, use vitest/node instead (#8200) 2025-06-20 17:01:02 +02:00
Vladimir
22f7f2db51
fix!: remove UserConfig type in favor of ViteUserConfig (#8196) 2025-06-20 12:34:20 +02:00
Ari Perkkiö
176133ed0c
feat!(coverage): v8 to support only AST based remapping (#8064) 2025-06-18 12:29:05 +03:00
Ari Perkkiö
41a111c35b
fix!(coverage): remove .all, reworked include/exclude (#7837) 2025-06-18 11:20:23 +03:00
Ari Perkkiö
82fcf5d53b
fix!: remove 'basic' reporter (#7884) 2025-06-18 10:06:40 +03:00
Ari Perkkiö
8a18c8e20a
fix(cli): throw error when --shard x/<count> exceeds count of test files (#8112) 2025-06-17 18:41:37 +02:00
Vladimir
790bc310c5
chore: update deprecation notice for globs (#8148) 2025-06-11 16:18:12 +02:00
Ari Perkkiö
14dc0724f9
fix(pool): auto-adjust minWorkers when only maxWorkers specified (#8110) 2025-06-11 14:48:37 +02:00
Ari Perkkiö
657e83f9fa
fix(cli): vitest run --watch should be watch-mode (#8128) 2025-06-10 17:33:14 +02:00
Vladimir
c8d6264bf4
feat: support rolldown-vite (#7509)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-06-04 17:53:27 +02:00
Vladimir
5297f3229c
test: fix tests failing in CI (#8083) 2025-06-03 19:42:12 +02:00
Vladimir
0cbad1b0d0
fix(browser): share vite cache with the project cache (#8049) 2025-05-29 11:50:45 +02:00
Matej Vobornik
d6ef0da11f
fix(cache): preserve test results from previous runs (#8043) 2025-05-28 15:57:30 +02:00
Vladimir
703581b62f
fix: apply browser CLI options only if the project has the browser set in the config already (#7984) 2025-05-19 17:56:45 +02:00
Vladimir
41beb261e6
feat: deprecate workspace in favor of projects (#7923)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-05-05 18:49:26 +02:00
Vladimir
a067531acf
feat: introduce watchTriggerPatterns option (#7778) 2025-05-05 16:48:33 +02:00
Vladimir
03660f9d57
fix(browser): correctly inherit CLI options (#7858) 2025-04-29 17:41:09 +02:00
Hiroshi Ogawa
df33bba73f
fix(runner): show stacktrace on test timeout error (#7799) 2025-04-09 10:55:39 +02:00
Ari Perkkiö
c375101d45
fix: prevent modifying test.exclude when same object passed in coverage.exclude (#7774) 2025-04-01 14:51:04 +02:00
Vladimir
69ca425c69
fix(reporter): print test only once in the verbose mode (#7738) 2025-03-31 12:12:41 +02:00
Hiroshi Ogawa
f342065366
fix: set diff.expand: false as default (#7697) 2025-03-28 10:11:45 +01:00
Vladimir
20a5d4bfc4
feat: add "configureVitest" plugin hook (#7349)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-03-19 14:18:14 +01:00
Arya Emami
3fdee3da8b
chore: fix various typos (#7663) 2025-03-14 09:20:41 +01:00
Hiroshi Ogawa
3fb3fbf858
fix: fix getState().testPath during collection with no isolation (#7640) 2025-03-11 14:48:01 +01:00
Hiroshi Ogawa
268a19e19a
fix(runner): show stacktrace on hook timeout error (#7502) 2025-03-11 14:35:53 +01:00
Hiroshi Ogawa
6ece0d9e63
test: ignore broken unhandled rejection error stack test (#7622) 2025-03-07 08:37:30 +01:00
Hiroshi Ogawa
db14ab714d
fix: cleanup vitest in public resolveConfig API (#7623) 2025-03-07 08:37:13 +01:00
Ari Perkkiö
5e21181186
test: replace browser.name with browser.instances (#7477) 2025-02-13 17:11:26 +02:00
Hiroshi Ogawa
191ef9e34c
fix: validate websocket request (#7317)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-02-02 10:31:33 +02:00
Hiroshi Ogawa
ef1464fc7b
fix: apply development|production condition on Vite 6 (#7301)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-01-23 14:38:54 +01:00
Vladimir
dff4406d9c
fix: filter projects eagerly during config resolution (#7313)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-01-23 14:00:59 +01:00
renovate[bot]
a8d123cb33
chore(deps): update eslint packages (#7086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-01-22 14:13:09 +01:00
Vladimir
e43a8f5666
fix(browser): don't fail when running --browser.headless if the browser projest is part of the workspace (#7311) 2025-01-20 17:21:45 +01:00
Vladimir
fa4634b237
fix(browser): don't throw a validation error if v8 coverage is used with filtered instances (#7306) 2025-01-20 15:55:52 +01:00
Vladimir
755ecdfa3b
Revert "fix: re-apply default conditions if using vite 6 or later (#7071)" (#7271) 2025-01-16 20:29:22 +01:00
Adam Hines
84287fc27b
fix: re-apply default conditions if using vite 6 or later (#7071)
Co-authored-by: thebanjomatic <ahines@gmail.com>
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-01-16 13:50:14 +01:00
Vladimir
003c0bef48
fix(watch): don't indicate exit when no matching files (#7246)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-01-15 14:43:53 +01:00
João Victor Lopes
1e7915b552
fix(browser): add instance validation to resolve coverage error (#7231)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-01-15 14:04:30 +01:00
Joaquín Sánchez
d4ea0b59d6
chore(test): fix test:ci errors on Windows (#7251) 2025-01-15 08:25:21 +09:00
Ari Perkkiö
8cab9601bb
fix: colors on forks pool (#7090) 2025-01-14 08:47:32 +02:00