128 Commits

Author SHA1 Message Date
Ari Perkkiö
e68b847479
test: update type-strip feature version check (#8419) 2025-08-15 13:57:48 +02:00
Vladimir
bdb7067f13
feat(api): add getGlobalTestNamePattern method (#8438) 2025-08-15 12:56:43 +02:00
Vladimir
a1cb9719a4
fix!: remove deprecated APIs (#8428) 2025-08-12 18:25:50 +02:00
Hiroshi Ogawa
9b5af96802
ci: skip list-changed test on ecosystem ci (#8388) 2025-08-05 17:58:39 +09:00
Ari Perkkiö
149f8e5095
fix(reporter)!: remove deprecated APIs (#8223)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-08-04 14:30:28 +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
haakonjackfloat
e71a5d0ec1
fix: add --changed flag support to vitest list command (fix #8270) (#8272) 2025-07-22 14:27:33 +02:00
Ari Perkkiö
013bf2cb2c
fix!: ignore --standalone when CLI filename filter is used (#8262) 2025-07-15 16:26:09 +02:00
Vladimir
88071a8f23
fix: annotation location always points to the test file (#8315) 2025-07-15 16:10:26 +02:00
Vladimir
497cb94498
test: don't use __dirname and __filename in tests and configs (#8314) 2025-07-15 15:02:19 +02:00
renovate[bot]
a1e576ae0a
fix(deps): update all non-major dependencies (#8235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-07-14 10:28:13 +02:00
Vladimir
abc0d8273f
fix(spy)!: support spying on classes (#6160) 2025-06-24 16:17:30 +02:00
Vladimir
924cb69610
feat: add onUnhandledError callback (#8162) 2025-06-24 16:14:35 +02:00
renovate[bot]
1a9d56092b
chore(deps): update all non-major dependencies (#8210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-23 09:38:36 +02:00
Vladimir
437d461aae
feat: provide entity to onConsoleLog (#8159) 2025-06-20 17:10:25 +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
4703cf850b
fix!: remove deprecated internal helpers and environment exports (#8198) 2025-06-20 13:43:29 +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
renovate[bot]
37ec08a008
chore(deps): update dependency @vitejs/plugin-basic-ssl to v2 (#8167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-16 16:25:58 +02:00
Zhaolin Liang
6869969120
fix(expect): handle async errors in expect.soft (#8145) 2025-06-11 16:19:48 +02:00
btea
658fde91a6
ci: use Nodejs 24 (#7999) 2025-06-11 15:10:30 +02:00
Qingyu Wang
85dc0195f5
fix(cli): use absolute path environment on Windows (#8105) 2025-06-11 14:39:44 +02:00
Vladimir
b86bf0d99f
fix: print uint and buffer as a simple string (#8141) 2025-06-10 13:24:17 +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
c8d6264bf4
feat: support rolldown-vite (#7509)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-06-04 17:53:27 +02:00
renovate[bot]
cce98d3e02
chore(deps): update all non-major dependencies (#8067)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-02 12:38:40 +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
3bdf05d19c
fix: ensure errors keep their message and stack after toJSON serialisation (#8053) 2025-05-30 13:12:32 +02:00
Andy Brenneke
95961e40ac
feat: track module execution totalTime and selfTime (#8027) 2025-05-29 10:39:44 +02:00
renovate[bot]
9fe0f3df9d
chore(deps): update all non-major dependencies (#7929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-05-20 14:57:32 +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
330f9a40b1
fix: ignore non-string stack properties (#7995) 2025-05-19 15:55:30 +02:00
Vladimir
d1a1df0364
feat: add sequence.groupOrder option (#7852) 2025-05-17 16:28:34 +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
e761f27d75
feat: provide ctx.signal (#7878) 2025-05-05 16:16:46 +02:00
Vladimir
ca743ede68
docs: deprecate old context augmentation and recommend test.extend (#7703) 2025-05-02 14:05:35 +02:00
Vladimir
2fa763a622
fix: reset mocks on test retry/repeat (#7897) 2025-05-02 13:38:11 +02:00
renovate[bot]
67ef74a0f4
fix(deps): update all non-major dependencies (#7867)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-24 08:50:29 +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
3c00c87575
fix(runner): correctly call test hooks and teardown functions (#7775) 2025-04-02 07:16:41 +02:00
Vladimir
69ca425c69
fix(reporter): print test only once in the verbose mode (#7738) 2025-03-31 12:12:41 +02:00
Vladimir
2702cf4245
fix: fix vm tests flakiness (#7741) 2025-03-26 20:34:54 +01: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
renovate[bot]
7fc5a29083
fix(deps): update all non-major dependencies (#7600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-03-25 12:03:11 +09:00