36 Commits

Author SHA1 Message Date
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
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
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
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
80f8bbf4ab
fix: misc fix for vite 6 ecosystem ci (#6867) 2024-11-14 10:18:31 +01:00
Vladimir
697c35c52d
feat: allow a custom note when calling ctx.skip() dynamically (#6805) 2024-11-13 17:03:12 +01:00
Vladimir
417bdb423d
fix(browser): init browsers eagerly when tests are running (#6876) 2024-11-13 16:03:43 +01:00
Vladimir
93b67c24b1
fix: throw an error and a warning if .poll, .element, .rejects/.resolves, and locator.* weren't awaited (#6877) 2024-11-13 13:16:24 +01:00
Vladimir
df6d750b79
fix(vitest): don't fail if the working directory starts with a lowercase drive letter (#6779) 2024-10-25 15:20:10 +02:00
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
Vladimir
383f179166
fix(browser): throw an error if "@vitest/browser/context" is imported outside of the browser mode (#6570) 2024-10-02 18:17:36 +02:00
Vladimir
1497134e4b
fix(runner): guard test hook callback (#6604) 2024-10-01 15:58:53 +02:00
Hiroshi Ogawa
ad6e72fc8e
fix(runner): async assertion auto await should timeout (#6391) 2024-09-03 11:21:00 +02:00
Hiroshi Ogawa
e03683c511
fix(snapshot): improve inline snapshot inside loop rejection (#6339) 2024-08-19 10:04:28 +02:00
Hiroshi Ogawa
1606f34f27
fix(snapshot): reject multiple toMatchInlineSnapshot updates at the same location (#6332) 2024-08-13 12:59:58 +02:00
Vladimir
13d85bd19a
feat: introduce experimental reported tasks (#6149) 2024-07-30 13:21:40 +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
e4fe6f51a0
feat: add an option to print console stack trace (#5720) 2024-05-31 15:29:54 +02:00
Vladimir
fc53f56344
feat: allow configuring expect options in the config (#5729) 2024-05-31 15:09:11 +02:00
Hiroshi Ogawa
222ce44119
feat!(runner): support concurrent suites (#5491) 2024-05-14 19:14:09 +02:00
Vladimir
dbbbe4304a
feat!: remove the empty suite from the runner (#5435) 2024-05-06 11:56:47 +02:00
Hiroshi Ogawa
f5faf4236f
fix: call resolveId('vitest') after buildStart (#5646) 2024-05-02 10:15:44 +02:00
Vladimir
103a600275
fix(vm): support network imports (#5610) 2024-04-30 12:02:54 +02:00
Vladimir
7c993e9454
test: standardising internal test (#5600) 2024-04-26 15:43:27 +02:00
Han
201bd06737
feat(cli): support wildcards in --project option (#5295) 2024-03-14 15:49:37 +01:00
Cristopher
f859efc094
feat: add --exclude CLI flag (#4279)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-12-19 14:53:26 +01:00