3054 Commits

Author SHA1 Message Date
Vladimir Sheremet
f32c5377a2
chore: release v3.1.0-beta.2 2025-03-21 09:27:00 +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
Ari Perkkiö
ba9b51cccc
fix(reporter): --hideSkippedTests should hide suites too (#7695) 2025-03-19 15:16:04 +09:00
Hiroshi Ogawa
9695d734eb
chore: replace rollup-plugin-esbuild with unplugin-oxc (#7680)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-03-18 16:13:38 +01:00
Vladimir Sheremet
2f7f36453b
chore: release v3.1.0-beta.1 2025-03-17 13:16:17 +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
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
Ari Perkkiö
5eba60ae12
feat(reporter): always render test time (#7529)
Co-authored-by: Michał Grzegorzewski <4864089+spamshaker@users.noreply.github.com>
2025-03-17 13:02:12 +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
Vladimir Sheremet
8ea9e147e1
chore: release v3.0.9 2025-03-17 12:57:21 +01:00
Ari Perkkiö
422ba66bfa
fix(coverage): browser mode + coverage.all (#7597) 2025-03-17 12:52:07 +01:00
Arya Emami
3fdee3da8b
chore: fix various typos (#7663) 2025-03-14 09:20:41 +01:00
Hiroshi Ogawa
29f5a848f7
fix(vite-node): fix missing buildStart (#7652) 2025-03-14 09:12:07 +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
Vladimir
fcf3cf5d0a
refactor: coverage types to avoid mixing node and runtime types (#7627) 2025-03-11 14:51:45 +01:00
Hiroshi Ogawa
df1fc8e57a
refactor(ws-client): remove utils re-export (#7635) 2025-03-11 14:49:53 +01:00
Pengoose
46d93a2e89
fix: support custom toString method in %s format (#7637) 2025-03-11 14:49:29 +01:00
Hiroshi Ogawa
3fb3fbf858
fix: fix getState().testPath during collection with no isolation (#7640) 2025-03-11 14:48:01 +01:00
Hiroshi Ogawa
268a19e19a
fix(runner): show stacktrace on hook timeout error (#7502) 2025-03-11 14:35:53 +01:00
Joel Gallant
ff42bcb381
fix(web-worker): ensure removeEventListener is bound to worker (#7631) 2025-03-11 08:40:45 +02:00
Vladimir
94b27af595
Revert "fix(browser): remove @testing-library/dom from dependencies #7555)" (#7628) 2025-03-07 14:55:25 +01:00
btea
7155aefa36
chore: use pnpm catalog (#7590) 2025-03-07 14:10:38 +01:00
Hiroshi Ogawa
c0cf65f94f
chore: use unplugin-isolated-decl with oxc-transform for dts build (#7609)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2025-03-07 09:54:45 +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
Daniel Staudigel
b7f5526163
fix: race condition in RPC filesystem cache. (#7531) 2025-03-07 09:53:47 +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
0fb21faa34
fix: fix toHaveBeenCalledWith(asymmetricMatcher) with undefined arguments (#7624) 2025-03-07 09:44:44 +01:00
Hiroshi Ogawa
db14ab714d
fix: cleanup vitest in public resolveConfig API (#7623) 2025-03-07 08:37:13 +01:00
Matthew Pietz
09f3530151
fix: typings of ctx.skip() as never (#7608) 2025-03-07 08:34:37 +02:00
Vladimir Sheremet
814d5df54e
chore: release v3.0.8 2025-03-06 16:13:46 +01:00
Hiroshi Ogawa
ca9ffac5f7
fix(runner): fix and simplify Task.suite initialization (#7414) 2025-03-06 16:03:29 +01:00
翠 / green
57c3234c63
chore: remove hijackVitePluginInject (#7613) 2025-03-06 15:59:35 +01:00
Hiroshi Ogawa
0c2924b7ae
fix(runner): fix beforeEach/All cleanup callback timeout (#7500) 2025-03-03 17:11:37 +01:00
renovate[bot]
1a88b1bb30
chore(deps): update dependency strip-literal to v3 (#7601)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-03 15:12:09 +09:00
nopeless
80cd129f3e
chore(deps): bump @types/chai to 5.0.1 (#7123)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-03-01 12:56:42 +09:00
btea
4325ac6793
fix: correctly split the argv string (#7533) 2025-02-27 13:45:23 +01:00
Bill Collins
7f7ff11c6c
fix: remove vestigial spy stub, import directly from @vitest/spy (#7575) 2025-02-27 13:44:35 +01:00
Hiroshi Ogawa
c0f47e03b0
fix(vite-node): fix buildStart on Vite 6 (#7480) 2025-02-27 13:43:02 +01:00
Vladimir
fee90d855b
fix(browser): print related test file and potential test in unhandled errors (#7564) 2025-02-27 13:54:38 +09: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
Vladimir
4b5ed90213
fix: use browser.isolate instead of config.isolate (#7560) 2025-02-26 17:18:16 +01:00
Vladimir
e2c570b687
fix(browser): improve source map handling for bundled files (#7534) 2025-02-25 16:56:58 +01:00
Vladimir
5387a5b3bf
fix(browser): remove @testing-library/dom from dependencies (#7555) 2025-02-25 15:45:08 +01:00
Hiroshi Ogawa
1a8b4337e3
fix: fix fetch cache multiple writes (#7546) 2025-02-25 08:45:01 +09:00
Vladimir Sheremet
358cccfb8f
chore: release v3.0.7 2025-02-24 18:47:07 +01:00
Vladimir
b1949c97c2
fix(browser): support webdriverio 9 (#7553) 2025-02-24 18:45:33 +01:00