96 Commits

Author SHA1 Message Date
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
Hiroshi Ogawa
b01a2bf5bc
chore(deps): use catalog for ws in tests (#7722) 2025-03-23 07:57:44 +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
btea
7155aefa36
chore: use pnpm catalog (#7590) 2025-03-07 14:10:38 +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
Hiroshi Ogawa
3ae5514e43
test: re-enable skipped test for Vite 6 (#7558) 2025-02-25 09:58:18 +02:00
Hiroshi Ogawa
28ad51b16e
test: fix flaky browser-multiple.test.ts (#7510) 2025-02-21 08:28:38 +01:00
Ben McCann
b62ac2280e
chore: use tinyglobby instead of fast-glob in Vitest (#7504) 2025-02-18 08:45:47 +02: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
ef1aa89333
fix: don't await an empty timeout after every test (#7281) 2025-01-17 15:23:28 +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
Hiroshi Ogawa
bfea79f54e
test: remove redundant snapshot name (#7114) 2024-12-27 10:13:19 +01:00
Vladimir
78b62ffe1d
feat: allow multi-browser configuration (#6975) 2024-12-19 14:21:41 +01:00
Vladimir
9a1b501223
feat: prepare the Vitest API to be stable (#6962) 2024-12-10 11:12:47 +01:00
Thomas Riffard
2fb585aea6
fix(runner): long synchronous tasks does not time out (fix #2920) (#6944)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-12-09 15:57:56 +01:00
Mohamed Hubail
751e2dcecd
feat(cli): Support location filters for suites (#7048) 2024-12-09 09:50:21 +01:00
Vladimir
407f10e48c
feat: print a deprecation warning if suite or test uses object as the third argument (#7031) 2024-12-05 17:18:59 +01:00
Vladimir
a3bef598ee
feat: print project name as a label (#6925) 2024-12-01 23:37:41 +01:00
Mohamed Hubail
4d94b956da
feat(cli): Support specifying a line number when filtering tests (#6411)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-12-01 23:34:46 +01:00
Vladimir
98c7e51918
refactor: deprecate environmentMatchGlobs and poolMatchGlobs in favor of workspace (#6922) 2024-12-01 23:17:14 +01:00
Hiroshi Ogawa
7b35d13a6f
fix(typecheck): fix typecheck collect on Vite 6 (#6972) 2024-11-27 10:18:55 +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