48 Commits

Author SHA1 Message Date
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
Hiroshi Ogawa
80f8bbf4ab
fix: misc fix for vite 6 ecosystem ci (#6867) 2024-11-14 10:18:31 +01:00
Vladimir Sheremet
82f2b50863
test: don't start the server in watch mode 2024-11-13 17:20:11 +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
Hiroshi Ogawa
de74785e05
chore(deps): update @antfu/eslint-config v3.8.0 (#6751) 2024-10-23 13:18:42 +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
079185387b
fix(browser): optimize expect-type (#6713) 2024-10-15 11:55:15 +02:00
Hiroshi Ogawa
4ec301b077
test: use list cli args from test.each (#6694) 2024-10-12 14:14:08 +02:00
Vladimir
70baaaa9f6
fix(vitest): use fast-glob instead of tinyglobby in Vitest (#6688) 2024-10-12 09:24:44 +09:00
Vladimir
7a0de0a7c2
perf: reuse full name in reported tasks, update generator types (#6666) 2024-10-08 21:29:38 +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
Ari Perkkiö
7dd2ecf8e2
test: disable vmThreads test for now (#6567) 2024-09-26 16:39:32 +02:00
Superchupu
c321a3fd29
chore: replace fast-glob with tinyglobby (#6274) 2024-09-06 14:49:25 +02:00
ziebam
028256491d
chore(deps): replace execa with tinyexec (#6454)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-09-06 13:37:19 +02:00
Hiroshi Ogawa
ad6e72fc8e
fix(runner): async assertion auto await should timeout (#6391) 2024-09-03 11:21:00 +02:00
Vladimir
7188709c60
chore: update types/node and run tests on Node 22 (#6437) 2024-09-02 14:54:28 +02:00
Mahmood Alhawaj
008f00b2b3
feat(cli): Extend existing list command to output only a list of file names (#6392)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-08-29 17:53:13 +02:00
Vladimir
f5d7999e46
refactor(api): rename TestFile to TestModule (#6356) 2024-08-19 10:16:45 +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
Ben McCann
00dfc1a450
chore: remove unused execa devDependencies (#6294)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-08-09 14:57:32 +02:00
Vladimir
13d85bd19a
feat: introduce experimental reported tasks (#6149) 2024-07-30 13:21:40 +02:00
Vladimir
56dbfa6689
refactor: make a distinction between node and runtime types (#6214) 2024-07-24 16:19:05 +02:00
Ari Perkkiö
f851982e2b
fix: --inspect-brk stop on Windows (#6110) 2024-07-13 18:43:14 +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
jviide
d066ba98af
refactor(runner): limit max concurrency without p-limit as a dependency (#5980) 2024-06-30 19:47:56 +02:00
Vladimir
471cf97b0c
chore: always require curly braces (#5885)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-06-16 18:10:10 +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
Ari Perkkiö
b7438b9be2
feat!: --merge-reports to support coverage (#5736) 2024-05-25 17:37:35 +02:00
Hiroshi Ogawa
222ce44119
feat!(runner): support concurrent suites (#5491) 2024-05-14 19:14:09 +02:00
Vladimir
e20538a36e
feat: add blob reporter (#5663) 2024-05-14 18:57:08 +02:00
Vladimir
34a80b392f
fix: print console statements in vmThreads (#5678) 2024-05-06 13:28:58 +02:00
Vladimir
dbbbe4304a
feat!: remove the empty suite from the runner (#5435) 2024-05-06 11:56:47 +02:00
Vladimir Sheremet
b9a411d638
chore: skip all tests in git-changed under ecosystem-ci 2024-05-02 12:17:28 +02:00
Hiroshi Ogawa
f5faf4236f
fix: call resolveId('vitest') after buildStart (#5646) 2024-05-02 10:15:44 +02:00
Vladimir
959247e90f
refactor: remove old and outdated examples (#5611) 2024-04-30 12:27:01 +02:00
Vladimir
103a600275
fix(vm): support network imports (#5610) 2024-04-30 12:02:54 +02:00
Vladimir Sheremet
cc8f058e52
chore: add vite ecosystem-ci command 2024-04-30 11:28:00 +02:00
Vladimir
7c993e9454
test: standardising internal test (#5600) 2024-04-26 15:43:27 +02:00
Ari Perkkiö
2a8e2fbf90
test: use startVitest instead of execa (#5439) 2024-03-31 11:09:28 +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