copy-title-and-url-as-markdown
copy-title-and-url-as-markdown copied to clipboard
chore(deps): update dependency vitest to v0.22.1
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
vitest | 0.18.1 -> 0.22.1 |
Release Notes
vitest-dev/vitest
v0.22.1
🚀 Features
- Restart vitest on config change - by @antfu (c663f)
- Show transform time - by @antfu (b54a1)
-
vite-node:
moduleCache.invalidateDepTree
utiltity - by @antfu in https://github.com/vitest-dev/vitest/issues/1872
🐞 Bug Fixes
- Convert string coverage reporters to array - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/1860
- Explicitly import performance - by @antfu (870d1)
View changes on GitHub
v0.22.0
🚨 Breaking Changes
-
c8
coverage support now require peer dependency@vitest/coverage-c8
to be installed. Alternatively, you can install@vitest/coverage-istanbul
to useistanbul
for coverage instead ofc8
.
🚀 Features
- Add --no-color to cli - by @jereklas in https://github.com/vitest-dev/vitest/issues/1849
- Support auto retry on Node segfault
--segfault-retry
- by @tony19 @antfu in https://github.com/vitest-dev/vitest/issues/1854 - Support
istanbul
coverage provider - by @AriPerkkio and @antfu in https://github.com/vitest-dev/vitest/issues/1676 -
cli: Support passing
--inspect
and--inspect-brk
- by @antfu (ea80f)
🐞 Bug Fixes
- Handle undefined returns of module mocks, and update migration docs - by @jereklas in https://github.com/vitest-dev/vitest/issues/1763 and https://github.com/vitest-dev/vitest/issues/1830
- Clear pattern when rerun all tests - by @ChpShy in https://github.com/vitest-dev/vitest/issues/1834
- reporter-junit: Remove trailing zeros in duration - by @nieyuyao in https://github.com/vitest-dev/vitest/issues/1842
View changes on GitHub
v0.21.1
🚀 Features
- types: Better local test context support - by @Tanimodori in https://github.com/vitest-dev/vitest/issues/1805
🐞 Bug Fixes
- Symbol.toStringTag on Module is non-enumerable - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1808
- Tap reporter doesn't throw - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1810
- Add error message when mock is missing export - by @jereklas in https://github.com/vitest-dev/vitest/issues/1819
View changes on GitHub
v0.21.0
🚀 Features
- Show stack trace for aggregated errors, show full stack trace - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1777
- Allow timeout in test.each - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1787
- Treat pseudo ESM as ESM with custom loader, disable custom Node Loader by default - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1778
- Allow using todo/skip/concurrent with each - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1802
🐞 Bug Fixes
- Better bundling of types - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1785
- ToHaveProperty should judge object own property - by @ChpShy in https://github.com/vitest-dev/vitest/issues/1795
- Plugins don't think it's watch mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1784
- Gracefully handle unsettable keys during automocking - by @simon-abbott in https://github.com/vitest-dev/vitest/issues/1786
View changes on GitHub
v0.20.3
🚀 Features
- Show start time in test summary - by @mikekidder, @sheremet-va and @antfu in https://github.com/vitest-dev/vitest/issues/1734
- types: Add partial flag to mocked TypeScript helper - by @jfrs in https://github.com/vitest-dev/vitest/issues/1739 and https://github.com/vitest-dev/vitest/issues/1742
🐞 Bug Fixes
- Add missing per-file option on coverage - by @patrickelectric in https://github.com/vitest-dev/vitest/issues/1775
- Correctly restore globals in env teardown - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1774
- Disable node loader for Yarn PnP - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1773
View changes on GitHub
v0.20.2
🚀 Features
- Add deps.registerNodeLoader option - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1751
🐞 Bug Fixes
- Don't throw in Node 18.6 - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1750
View changes on GitHub
v0.20.1
🐞 Bug Fixes
- Bundle suppress-warnings - by @sheremet-va (bd567)
View changes on GitHub
v0.20.0
🚨 Breaking Changes
- Apply Vite resolving algorithm to node_modules libraries - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1673
🚀 Features
- Add option for ignoring unhandled errors - by @DerYeger in https://github.com/vitest-dev/vitest/issues/1678
- vite-node: Allow dumpping the transformed code to debug - by @antfu in https://github.com/vitest-dev/vitest/issues/1723
🐞 Bug Fixes
- Don't clear mocks with vi.resetModules, cache normalised mock paths - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1726
- Improve execution time counter - by @antfu (0d1f1)
- browser: Wait for files scanning in browser - by @Aslemammad in https://github.com/vitest-dev/vitest/issues/1704
-
coverage: Include
clover
reporter by default - by @antfu (5862e) - jsdom: Use jsdom ArrayBuffer instead of Node, if jsdom is enabled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1727
- types: Fix MockedClass typeParams - by @Tanimodori in https://github.com/vitest-dev/vitest/issues/1735
- ui: Do not load graph if never displayed (fix #1602) - by @MPeloquin in https://github.com/vitest-dev/vitest/issues/1719
View changes on GitHub
v0.19.1
🚀 Features
- Add mock snapshot serializer - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1717
View changes on GitHub
v0.19.0
🚨 Breaking Changes
- Add CSS styles to DOM - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1690
🚀 Features
- Add Playwright example - by @jfgreffier in https://github.com/vitest-dev/vitest/issues/1670
- Add location to json reporter - by @shiradofu in https://github.com/vitest-dev/vitest/issues/1656
- Add alias option - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1634
- Init @vitest/browser package - by @antfu, @userquin and @Aslemammad in https://github.com/vitest-dev/vitest/issues/1302
- Make close timeout configurable - by @krishnan-chandra in https://github.com/vitest-dev/vitest/issues/1697
🐞 Bug Fixes
- Exclude dist directory from default coverage - by @cexbrayat in https://github.com/vitest-dev/vitest/issues/1664
- Exclude cypress config from default coverage - by @cexbrayat in https://github.com/vitest-dev/vitest/issues/1663
- Works with yarn pnp - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1667
- Code frame tabs indent (fix: #1679) - by @skarab42 in https://github.com/vitest-dev/vitest/issues/1680
- ToHaveProperty with expect.any (fix: #1675) - by @skarab42 in https://github.com/vitest-dev/vitest/issues/1682
View changes on GitHub
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.