chore(deps): update dependency vitest to v3.2.4
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| vitest (source) | devDependencies | minor | 3.1.3 -> 3.2.4 |
Release Notes
vitest-dev/vitest (vitest)
v3.2.4
🐞 Bug Fixes
- Use correct path for optimisation of strip-literal - by @mrginglymus in #8139 (44940)
- Print uint and buffer as a simple string - by @sheremet-va in #8141 (b86bf)
-
browser:
- Show a helpful error when spying on an export - by @sheremet-va in #8178 (56007)
-
cli:
-
vitest run --watchshould be watch-mode - by @AriPerkkio in #8128 (657e8) - Use absolute path environment on Windows - by @colinaaa in #8105 (85dc0)
- Throw error when
--shard x/<count>exceeds count of test files - by @AriPerkkio in #8112 (8a18c)
-
-
coverage:
- Ignore SCSS in browser mode - by @sheremet-va in #8161 (0c3be)
- deps:
- expect:
-
pool:
- Auto-adjust
minWorkerswhen onlymaxWorkersspecified - by @AriPerkkio in #8110 (14dc0)
- Auto-adjust
-
reporter:
-
task.metashould be available in custom reporter's errors - by @AriPerkkio in #8115 (27df6)
-
-
runner:
- Preserve handler wrapping on extend - by @pengooseDev in #8153 (a9281)
- ui:
View changes on GitHub
v3.2.3
🚀 Features
- browser: Use base url instead of vitest - by @sheremet-va in #8126 (1d8eb)
- ui: Show test annotations and metadata in the test report tab - by @sheremet-va in #8093 (c69be)
🐞 Bug Fixes
- Rerun tests when project's setup file is changed - by @sheremet-va in #8097 (0f335)
- Revert
expect.anyreturn type - by @sheremet-va in #8129 (47514) - Run only the name plugin last, not all config plugins - by @sheremet-va in #8130 (83862)
-
pool:
- Throw if user's tests use
process.send()- by @AriPerkkio in #8125 (dfe81)
- Throw if user's tests use
-
runner:
- Fast sequential task updates missing - by @AriPerkkio in #8121 (7bd11)
- Comments between fixture destructures - by @AriPerkkio in #8127 (dc469)
-
vite-node:
- Unable to handle errors where sourcemap mapping empty - by @blake-newman and @hi-ogawa in #8071 (8aa25)
View changes on GitHub
v3.2.2
🚀 Features
- Support rolldown-vite - by @sheremet-va and @hi-ogawa in #7509 (c8d62)
🐞 Bug Fixes
-
browser:
- Calculate prepare time from
createTesterscall on the main thread - by @sheremet-va in #8101 (142c7) - Optimize build output and always prebundle vitest - by @sheremet-va (00a39)
- Make custom locators available in
vitest-browser-*packages - by @sheremet-va in #8103 (247ef)
- Calculate prepare time from
- expect:
-
reporter:
- Allow
dotreporter to work in non interactive terminals - by @bstephen1 and @AriPerkkio in #7994 (6db9f)
- Allow
View changes on GitHub
v3.2.1
🐞 Bug Fixes
- Use sha1 instead of md5 for hashing - by @sheremet-va (e4c73)
-
expect:
- Fix chai import in dts - by @hi-ogawa in #8077 (a7593)
- Export
DeeplyAllowMatchers- by @sheremet-va in #8078 (30ab4)
View changes on GitHub
v3.2.0
🚀 Features
- Provide
ctx.signal- by @sheremet-va in #7878 (e761f) - Support custom colors for
test.name- by @AriPerkkio in #7809 (4af5d) - Add
vi.mockObjectto automock any object - by @hi-ogawa and @sheremet-va in #7761 (465bd) - Introduce
watchTriggerPatternsoption - by @sheremet-va in #7778 (a0675) - Deprecate
workspacein favor ofprojects- by @sheremet-va and @AriPerkkio in #7923 (41beb) - Explicit Resource Management support in mocked functions - by @EskiMojo14 in #7927 (b67d3)
- Add
sequence.groupOrderoption - by @sheremet-va in #7852 (d1a1d) - Initial support for Temporal equality - by @dirkluijk in #8007 (52bd7)
- Support Vite 7 - by @sheremet-va in #8003 (1716b)
- Track module execution totalTime and selfTime - by @abrenneke in #8027 (95961)
- Annotation API - by @sheremet-va in #7953 (b03f2)
-
browser:
- Implement
connectoption forplaywrightbrowser provider - by @egfx-notifications and @sheremet-va in #7915 (029c0) - Add
screenshot.saveoption - by @sheremet-va in #7777 (d9f51) - Custom locators API - by @sheremet-va in #7993 (e6fbd)
- Implement
-
coverage:
- V8 experimental AST-aware remapping - by @AriPerkkio in #7736 (78a3d)
-
reporter:
- Add
onWritePathoption togithub-actions- by @nwalters512 and @AriPerkkio in #8015 (abd3b)
- Add
-
vitest:
- Allow per-file and per-worker fixtures - by @sheremet-va and @AriPerkkio in #7704 (9cbfc)
🐞 Bug Fixes
- Replace
micromatchwithpicomatch- by @sapphi-red in #7951 (df076) - Try to catch unhandled error outside of a test - by @sheremet-va in #7968 (46421)
- Generate a separate config for "vitest init browser" instead of a workspace file - by @sheremet-va in #7934 (e84e2)
- Switch ExpectStatic
anytypes toAsymmetricMatcher<unknown>, withDeeplyAllowMatchers<T>- by @JoshuaKGoldberg in #7016 (8ec44) - Remove unused exports - by @sheremet-va in #7618 (33d05)
- Throw an error if typechecker failed to spawn - by @sheremet-va in #7990 (0e960)
- Ignore non-string
stackproperties - by @sheremet-va in #7995 (330f9) - Apply browser CLI options only if the project has the browser set in the config already - by @sheremet-va in #7984 (70358)
- Ensure errors keep their message and stack after
toJSONserialisation - by @sheremet-va in #8053 (3bdf0) -
browser:
- Resolve FS commands relative to the project root - by @sheremet-va in #7896 (69ac9)
- Run tests serially if provider doesn't provide a mocker - by @sheremet-va in #8032 (227a9)
- Resolve
uploadfiles relative to the project root - by @sheremet-va in #8042 (b9a31) - Await mocker invalidation to avoid race condition with "mock wasn't registered" - by @sheremet-va in #8021 (b34ff)
- Share vite cache with the project cache - by @sheremet-va in #8049 (0cbad)
- Add
thistype tolocators.extend- by @sheremet-va in #8069 (70fb0)
-
cache:
- Preserve test results from previous runs - by @macko911 in #8043 (d6ef0)
-
cli:
- Add built-in reporters list to --help output - by @pengooseDev in #7955 (ef6ef)
- Parse
--silentvalues properly - by @AriPerkkio in #8055 (8fad7)
-
coverage:
- Istanbul provider to not use Vite preserved query params - by @AriPerkkio in #7939 (a05d4)
- Browser + v8 in source tests missing - by @AriPerkkio in #7946 (51cd8)
- In-source test cases excluded - by @AriPerkkio in #7985 (407c0)
-
dev:
- Fix relay of custom equality testers - by @StefanLiebscher in #6140 (6dc1d)
-
expect:
- Unbundle
@types/chai- by @hi-ogawa in #7937 (525f5) - Support type-safe declaration of custom matchers - by @kettanaito and @sheremet-va in #7656 (e996b)
- Unbundle
-
reporters:
- Check the test result again when tests are rerunning - by @sheremet-va in #8063 (35e31)
-
spy:
- Copy over static properties from the function - by @sheremet-va in #7780 (9b9f0)
-
typecheck:
- Don't panic during
vitest listcommand - by @sheremet-va in #7933 (ba6da) - Avoid creating a temporary tsconfig file when typechecking - by @sheremet-va in #7967 (34f43)
- Don't panic during
-
vite-node:
- Add
__vite_ssr_exportName__- by @hi-ogawa in #7925 (76091)
- Add
-
vitest:
- Adjust
getWorkerMemoryLimitpriority for vmForks - by @pengooseDev in #7960 (5a91e)
- Adjust
-
wdio:
- Don't scale browser in headless mode - by @sheremet-va in #8033 (c23b0)
View changes on GitHub
v3.1.4
🐞 Bug Fixes
- Apply browser CLI options only if the project has the browser set in the config already - by @sheremet-va in #8002 (64f2b)
View changes on GitHub
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate Bot