1251 Commits

Author SHA1 Message Date
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
da6d2ea72c
fix(browser): don't polyfill process.env (#6718) 2024-10-15 14:54:54 +02:00
Vladimir
2e6aa6475f
fix(vitest): clarify slowTestThreshold, print slow tests in non-TTY mode (#6715) 2024-10-15 14:30:10 +02:00
Vladimir
c0a2f3fc56
refactor: remove barrel utils (#6716) 2024-10-15 13:59:59 +02:00
Vladimir
079185387b
fix(browser): optimize expect-type (#6713) 2024-10-15 11:55:15 +02:00
Hiroshi Ogawa
e5c388f015
fix(vitest,runner): simplify test.extend type exports (#6707) 2024-10-15 11:39:25 +02:00
Ari Perkkiö
62ac4eb1bc
chore(deps): update magic-string (#6711) 2024-10-15 11:37:23 +02:00
dalaoshu
a61293e968
fix(expect): correct behavior of toThrowError with empty string parameter (#6710) 2024-10-15 10:59:55 +02:00
Hiroshi Ogawa
c73680984d
test: add retries to playwright ui tests (#6708) 2024-10-15 10:39:58 +02:00
Hiroshi Ogawa
7abc4ab6d8
chore(deps): update vue (#6709) 2024-10-15 10:39:38 +02:00
renovate[bot]
d260cef634
chore(deps): update all non-major dependencies (#6360)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-10-14 13:43:10 +02:00
Hiroshi Ogawa
9c518c1424
fix(browser): fix default browser port (#6700) 2024-10-14 13:24:34 +02:00
Hiroshi Ogawa
4ec301b077
test: use list cli args from test.each (#6694) 2024-10-12 14:14:08 +02:00
Hiroshi Ogawa
e002758ca2
fix: fix error diff of toBeNaN, toBeUndefined, toBeNull, toBeTruthy, toBeFalsy (#6697) 2024-10-12 14:12:24 +02:00
dsyddall
5e6de2742f
fix(runner): ensure sequential suite overrides sequence.concurrent (#6653)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2024-10-12 10:31:47 +09:00
Vladimir
70baaaa9f6
fix(vitest): use fast-glob instead of tinyglobby in Vitest (#6688) 2024-10-12 09:24:44 +09:00
Vladimir
19d64e20ef
fix(vitest): always inline setup files (#6689) 2024-10-11 17:03:33 +02:00
Hiroshi Ogawa
47dde76f31
fix(vitest): show rollup error details as test error (#6686) 2024-10-11 16:06:32 +02:00
Ari Perkkiö
7155cee210
refactor(coverage): move re-usable parts to base provider (#6665) 2024-10-11 10:22:08 +03:00
Vladimir
7a0de0a7c2
perf: reuse full name in reported tasks, update generator types (#6666) 2024-10-08 21:29:38 +02:00
Vladimir
8bef5d2b99
fix(browser): not.toBeInTheDocument works with locators API (#6634) 2024-10-07 10:25:36 +02:00
Hiroshi Ogawa
9ece395264
fix(vitest): fix <empty line> logs when interleaving console.log/error (#6644) 2024-10-06 11:16:19 +03:00
Vladimir
946d8bb165
fix(vitest): don't hang with maxConcurrency 0 (#6627) 2024-10-03 16:01:20 +02:00
Vladimir
496bd251ba
fix(vitest): deprecate UserConfig in favor of ViteUserConfig (#6626) 2024-10-03 14:25:32 +02:00
Hiroshi Ogawa
46be62c207
test: refactor browser test utils (#6624) 2024-10-03 12:49:44 +02:00
Hiroshi Ogawa
fe7b8aeea6
fix(web-worker): share mocker with main executor (#6623) 2024-10-03 11:29:09 +02:00
Hiroshi Ogawa
d289e7eb39
fix(expect): preserve prototype in toMatchObject diff (#6620) 2024-10-03 08:56:17 +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
f4a682d7ac
docs: document how to mock class and its methods (#6615) 2024-10-02 16:28:15 +02:00
Vladimir
8a8d3f0346
fix(vitest): make env.SSR consistent between different pools (#6616) 2024-10-02 16:27:35 +02:00
Ari Perkkiö
88bde99cda
fix(coverage): cleanOnRerun: false to invalidate previous results (#6592) 2024-10-02 09:54:43 +02:00
Hiroshi Ogawa
c5e29098e8
fix(runner): run onTestFinished and onTestFailed during retry and repeats (#6609) 2024-10-02 09:51:37 +02:00
Ari Perkkiö
5f757900b5
refactor: replace strip-ansi with stripVTControlCharacters from node:util (#6608) 2024-10-02 09:50:19 +02:00
Vladimir
1497134e4b
fix(runner): guard test hook callback (#6604) 2024-10-01 15:58:53 +02:00
Hiroshi Ogawa
3de00ab60f
fix(runner): fix fixture parsing of lowered async syntax for non arrow functions (#6575) 2024-10-01 13:36:34 +02:00
Hiroshi Ogawa
e7f35214c8
fix: move Vitest.setServer to post configureServer hook to enable import analysis for workspace config loading (#6584) 2024-10-01 13:25:51 +02:00
Ari Perkkiö
7dd2ecf8e2
test: disable vmThreads test for now (#6567) 2024-09-26 16:39:32 +02:00
Hiroshi Ogawa
d0bf89d377
fix(ui): list tests on ui when --standalone (#6577) 2024-09-26 11:46:10 +02:00
Hiroshi Ogawa
adcdaee8a2
fix(browser): serve ui assets as static (#6564) 2024-09-25 10:35:55 +02:00
Hiroshi Ogawa
a6407afcf8
fix(benchmark): clear BenchmarkResult.samples array to reduce memory usage (#6541)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-09-25 10:34:30 +02:00
Hiroshi Ogawa
f131f93ba3
fix(browser): fix browser mock factory event race condition (#6530) 2024-09-25 10:33:58 +02:00
Hiroshi Ogawa
b553c7d6d5
fix(runner): support fixture parsing of lowered async syntax (#6531) 2024-09-25 10:32:27 +02:00
Hiroshi Ogawa
fb79792dc9
fix(runner): mark tests as skipped when beforeAll failed (#6524) 2024-09-25 10:32:08 +02:00
Hiroshi Ogawa
7727ca8772
fix(workspace): fix glob pattern detection (#6502) 2024-09-25 10:31:33 +02:00
Hiroshi Ogawa
f7da6199d1
fix(expect): fix toBeDefined with expect.poll (#6562) 2024-09-25 10:30:46 +02:00
Hiroshi Ogawa
ea2d429b20
fix(browser): fix dynamic import inside worker (#6569) 2024-09-25 10:24:02 +02:00
Ari Perkkiö
1371ca6a6f
fix(coverage): remove empty coverage folder on test failure too (#6547) 2024-09-25 08:32:43 +03:00
Hiroshi Ogawa
91f859979a
fix(vite-node): fix esm false-detection inside comment (#6506) 2024-09-17 08:45:02 +03:00
Vladimir
36b5aceb9e
fix(workspace): resolve glob pattern once to avoid name collision (#6489) 2024-09-13 10:17:08 +02:00
Vladimir
94a186ec91
fix(ui): render project name consistently (#6329) 2024-09-12 14:28:16 +02:00