1369 Commits

Author SHA1 Message Date
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
Romain Hamel
5f50495843
docs: use extends instead of configFile in injectTestProjects (#7860) 2025-05-05 18:38:49 +02:00
Vladimir Sheremet
bc78cc8c3b
docs: fix example 2025-05-05 17:41:18 +02:00
Vladimir
a067531acf
feat: introduce watchTriggerPatterns option (#7778) 2025-05-05 16:48:33 +02:00
Florian Schwalm
029c0788c3
feat(browser): implement connect option for playwright browser provider (#7915)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2025-05-05 16:29:15 +02:00
Hiroshi Ogawa
465bdb3d77
feat: add vi.mockObject to automock any object (#7761)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2025-05-05 16:21:42 +02:00
Ari Perkkiö
4af5df33b5
feat: support custom colors for test.name (#7809) 2025-05-05 16:21:24 +02:00
Ari Perkkiö
78a3d27879
feat(coverage): v8 experimental AST-aware remapping (#7736) 2025-05-05 16:17:56 +02:00
Vladimir
e761f27d75
feat: provide ctx.signal (#7878) 2025-05-05 16:16:46 +02:00
Vladimir
69ac92cb7d
fix(browser): resolve FS commands relative to the project root (#7896) 2025-05-05 16:14:10 +02:00
Vladimir
ca743ede68
docs: deprecate old context augmentation and recommend test.extend (#7703) 2025-05-02 14:05:35 +02:00
Elijah Kennedy
9be32fb74d
docs: fix typo (#7886) 2025-04-24 18:20:51 +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
Rodolfo Gobbi De Angeli
ad5d6ee6e0
docs: improve mocking classes section (#7833) 2025-04-18 18:19:15 +02:00
Vladimir
bc537a12d8
docs: update onTestFailed first argument (#7857) 2025-04-18 11:18:06 +02:00
Vladimir
53c997300e
docs: clarify the custom provider API is experimental (#7855) 2025-04-18 09:15:58 +02:00
Vladimir
ed9ee9d4ba
docs: clarify expect docs (#7853) 2025-04-18 09:14:38 +02:00
Vladimir
d97f6d4807
docs: clarify workspace docs (#7849) 2025-04-17 18:00:16 +02:00
Kenton Varda
6358f216e2
fix: default to run mode when stdin is not a TTY (#7673)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2025-04-17 12:17:03 +02:00
Joakim J
37854a3395
docs: Fixed typo under vi.useRealTimers section (#7840) 2025-04-16 16:47:33 +02:00
renovate[bot]
15701f5dca
fix(deps): update all non-major dependencies (#7831)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-15 11:39:53 +09:00
Artem Zakharchenko
412866556b
docs: suggest vitest run in --merge-reports usage (#7824) 2025-04-12 09:17:45 +03:00
Ari Perkkiö
5652bf9201
fix(coverage): expose profiling timers (#7820) 2025-04-11 08:24:06 +03:00
renovate[bot]
29084f10fe
chore(deps): update all non-major dependencies (#7802)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 14:00:24 +02:00
Vladimir
6373ecc8ba
docs: show both test options examples (#7786) 2025-04-03 10:54:54 +09:00
Marijn030
1440908816
docs(guide): update coverage.md (#7781) 2025-04-02 16:08:14 +02:00
renovate[bot]
7c3dfb174a
fix(deps): update all non-major dependencies (#7765)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 18:15:14 +02:00
Vladimir
69ca425c69
fix(reporter): print test only once in the verbose mode (#7738) 2025-03-31 12:12:41 +02:00
João Victor Lopes
938da77ee0
fix (ui): rerun individually tests with special chars in name (#7707) 2025-03-28 16:46:11 +01:00
Ben Durrant
5659a0e0ce
feat: Added vitest-browser-lit to vitest init browser and docs (#7705)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-03-26 20:41:04 +01:00
Vladimir
12762ea6cc
perf(browser): fork jest-dom instead of bundling it (#7605) 2025-03-26 10:07:11 +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
Jan Vincent Liwanag
18becc6e51
docs: fix default fixture value (#7711) 2025-03-21 10:37:33 +01:00
Vladimir
63949b1d73
feat(browser): introduce and, or and filter locators (#7463)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-03-20 15:19:50 +01:00
Vladimir
e5851e4b86
feat(runner): add test.scoped to override test.extend fixtures per-suite (#7233) 2025-03-19 14:57:29 +01:00
Vladimir
20a5d4bfc4
feat: add "configureVitest" plugin hook (#7349)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-03-19 14:18:14 +01:00
@beer
ab26f54166
docs: benchmark url fix (#7677) 2025-03-18 11:41:32 +02: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
ea3d67b03b
feat: allow array element for test.each/for title formatting (#7522) 2025-03-17 13:03:51 +01:00
Hiroshi Ogawa
eacab25e77
feat: add diff.maxDepth option and set non-Infinity value as a default to reduce crash (#7481) 2025-03-17 13:03:01 +01:00
Ari Perkkiö
f9e1cb494e
feat(reporter): --silent=passed-only to log failed tasks only (#7530) 2025-03-17 13:02:27 +01:00
Ryo Ochiai
df3477076c
feat: Introduce %$ option to add number of the test to its title (#7412) 2025-03-17 13:01:19 +01:00
Ari Perkkiö
10bbbe969e
ci: pin third party actions to commit shas (#7687) 2025-03-17 13:48:38 +02:00
Arya Emami
3fdee3da8b
chore: fix various typos (#7663) 2025-03-14 09:20:41 +01:00
renovate[bot]
4b0451d9e5
chore(deps): update dependency @antfu/eslint-config to v4 (#7407)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-03-11 16:06:15 +01:00
Hiroshi Ogawa
2d4537fe81
docs: add mockClear/mockReset/mockRestore examples (#7633) 2025-03-11 15:11:15 +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
4f7db68143
docs: fix shiki twoslash build error (#7620) 2025-03-07 08:36:54 +01:00