76 Commits

Author SHA1 Message Date
Ari Perkkiö
d57d8bf0a6
fix(pool): terminate workers on CTRL+c forceful exits (#9140) 2025-12-02 12:56:30 +01:00
Raul Macarie
821aa20021
feat(runner): Add full names to tasks (#9087) 2025-11-25 14:50:06 +01:00
Raul Macarie
772923645f
feat(api): add extensible test artifact API (#8987) 2025-11-18 10:56:21 +01:00
Vladimir
d6d3359ddb
feat(experimental): support OpenTelemetry traces (#8994) 2025-11-17 16:23:52 +01:00
Ari Perkkiö
eb98dd8fd2
fix(core): prevent starting new run when cancelling (#8991) 2025-11-17 09:49:21 +01:00
renovate[bot]
46b3529a81
chore(deps): update dependency jsdom to v27 (#8700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-11-06 15:05:35 +01:00
Ari Perkkiö
7c8255f397
test: add test to detect event listeners leak warnings (#8827) 2025-10-27 10:17:13 +01:00
Vladimir
08498f0e99
fix(pool): properly reuse the vm pool (#8758) 2025-10-22 12:02:20 +02:00
Ari Perkkiö
4822d047a7
feat!: rewrite pools without tinypool (#8705)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-10-21 19:12:54 +02:00
Vladimir
0dc93ea988
feat: introduce separate packages for browser mode providers (#8629) 2025-10-01 15:58:13 +02:00
Vladimir
9a79b90c95
perf: reduce the number of unused imports (#8508) 2025-09-08 19:20:18 +02:00
Joaquín Sánchez
2e49189549
feat: display test "path" when filtering (#8547) 2025-09-08 17:29:02 +02:00
Vladimir
8978a23b7b
fix: process sourcemaps for stack traces from globalSetup files (#8534) 2025-09-06 10:07:01 +08:00
Vladimir
606cb9e3e3
feat(browser)!: require a provider factory instead of a string (#8445) 2025-08-27 12:00:11 +02:00
Vladimir
a1cb9719a4
fix!: remove deprecated APIs (#8428) 2025-08-12 18:25:50 +02:00
Vladimir
1a81c21d28
feat(runner)!: set mode to todo if no function is passed down to test or describe (#8346) 2025-07-28 15:24:32 +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
Ari Perkkiö
013bf2cb2c
fix!: ignore --standalone when CLI filename filter is used (#8262) 2025-07-15 16:26:09 +02:00
Vladimir
497cb94498
test: don't use __dirname and __filename in tests and configs (#8314) 2025-07-15 15:02:19 +02:00
Vladimir
22f7f2db51
fix!: remove UserConfig type in favor of ViteUserConfig (#8196) 2025-06-20 12:34:20 +02:00
Vladimir
14c507200a
feat!: simplify default exclude pattern (#6287) 2025-06-20 10:52:26 +02:00
Zhaolin Liang
6869969120
fix(expect): handle async errors in expect.soft (#8145) 2025-06-11 16:19:48 +02:00
Ari Perkkiö
dfe81a67ac
fix(pool): throw if user's tests use process.send() (#8125) 2025-06-09 09:06:02 +02:00
Vladimir
9cbfc231a0
feat(vitest): allow per-file and per-worker fixtures (#7704)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-05-31 14:07:34 +02:00
Vladimir
b03f2098a5
feat: annotation API (#7953) 2025-05-30 18:56:14 +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
e84e2184ef
fix: generate a separate config for "vitest init browser" instead of a workspace file (#7934) 2025-05-17 15:33:00 +02:00
Vladimir
464218f42c
fix: try to catch unhandled error outside of a test (#7968) 2025-05-13 19:28:56 +02:00
Vladimir
ba6da4d070
fix(typecheck): don't panic during vitest list command (#7933) 2025-05-06 22:36:42 +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
ca743ede68
docs: deprecate old context augmentation and recommend test.extend (#7703) 2025-05-02 14:05:35 +02:00
Vladimir
f9eacbc55d
fix(vite-node): add ERR_MODULE_NOT_FOUND code error if module cannot be loaded (#7776) 2025-04-18 09:17:01 +02:00
Vladimir
69ca425c69
fix(reporter): print test only once in the verbose mode (#7738) 2025-03-31 12:12:41 +02:00
Janis Jansen
2a8520a837
feat: support --configLoader CLI option (#7574)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-03-26 10:06:42 +01:00
Vladimir
6adecb9036
feat(vitest): allow conditional context.skip(boolean) (#7659)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-03-17 13:05:26 +01:00
Hiroshi Ogawa
e4b34b81e6
test: test hook cleanup timeout correctly (#7651) 2025-03-11 14:40:31 +01:00
Vladimir
5eb4cd1fa5
fix(browser): fail playwright timeouts earlier than a test timeout (#7565)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-03-07 09:54:16 +01:00
Hiroshi Ogawa
34aa322bf2
fix(vite-node): fix source map of inlined node_modules (#7557) 2025-03-07 09:50:40 +01:00
Hiroshi Ogawa
ca9ffac5f7
fix(runner): fix and simplify Task.suite initialization (#7414) 2025-03-06 16:03:29 +01:00
Hiroshi Ogawa
0c2924b7ae
fix(runner): fix beforeEach/All cleanup callback timeout (#7500) 2025-03-03 17:11:37 +01:00
jyc.dev
d5cb821276
fix(snapshot): allow inline snapshot calls on same location with same snapshot (#7464)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-02-27 11:49:45 +09:00
Ari Perkkiö
5e21181186
test: replace browser.name with browser.instances (#7477) 2025-02-13 17:11:26 +02:00
Ari Perkkiö
8fe641b40a
fix(init): invalid browser config (#7475) 2025-02-13 16:15:39 +02: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
Hiroshi Ogawa
c60ee27c06
fix(runner): timeout long sync hook (#7289) 2025-01-21 15:16:36 +01:00
Vladimir
1c2b210d16
fix(api): don't report events during vitest list (#7257) 2025-01-15 16:33:15 +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
Ari Perkkiö
1d45895512
fix(runner): mark tests of describe.todo as 'todo' (#7171) 2025-01-04 12:28:53 +01:00
Vladimir
9a1b501223
feat: prepare the Vitest API to be stable (#6962) 2024-12-10 11:12:47 +01:00