Unleash / unleash-frontend

Unleash Admin UI
https://unleash-frontend-git-main.unleash-team.vercel.app
Apache License 2.0
30 stars 43 forks source link

chore(deps): update dependency vitest to v0.20.3 #1183

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest 0.16.0 -> 0.20.3 age adoption passing confidence

Release Notes

vitest-dev/vitest ### [`v0.20.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.2...v0.20.3) #####    🚀 Features - Show start time in test summary  -  by [@​mikekidder](https://togithub.com/mikekidder), [@​sheremet-va](https://togithub.com/sheremet-va) and [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1734](https://togithub.com/vitest-dev/vitest/issues/1734) - **types**: Add partial flag to mocked TypeScript helper  -  by [@​jfrs](https://togithub.com/jfrs) in [https://github.com/vitest-dev/vitest/issues/1739](https://togithub.com/vitest-dev/vitest/issues/1739) and [https://github.com/vitest-dev/vitest/issues/1742](https://togithub.com/vitest-dev/vitest/issues/1742) #####    🐞 Bug Fixes - Add missing per-file option on coverage  -  by [@​patrickelectric](https://togithub.com/patrickelectric) in [https://github.com/vitest-dev/vitest/issues/1775](https://togithub.com/vitest-dev/vitest/issues/1775) - Correctly restore globals in env teardown  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1774](https://togithub.com/vitest-dev/vitest/issues/1774) - Disable node loader for Yarn PnP  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1773](https://togithub.com/vitest-dev/vitest/issues/1773) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.2...v0.20.3) ### [`v0.20.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.1...v0.20.2) #####    🚀 Features - Add deps.registerNodeLoader option  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1751](https://togithub.com/vitest-dev/vitest/issues/1751) #####    🐞 Bug Fixes - Don't throw in Node 18.6  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1750](https://togithub.com/vitest-dev/vitest/issues/1750) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.1...v0.20.2) ### [`v0.20.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.0...v0.20.1) #####    🐞 Bug Fixes - Bundle suppress-warnings  -  by [@​sheremet-va](https://togithub.com/sheremet-va) [(bd567)](https://togithub.com/vitest-dev/vitest/commit/bd567f74) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.0...v0.20.1) ### [`v0.20.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.19.1...v0.20.0) #####    🚨 Breaking Changes - Apply Vite resolving algorithm to node_modules libraries  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1673](https://togithub.com/vitest-dev/vitest/issues/1673) #####    🚀 Features - Add option for ignoring unhandled errors  -  by [@​DerYeger](https://togithub.com/DerYeger) in [https://github.com/vitest-dev/vitest/issues/1678](https://togithub.com/vitest-dev/vitest/issues/1678) - **vite-node**: Allow dumpping the transformed code to debug  -  by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1723](https://togithub.com/vitest-dev/vitest/issues/1723) #####    🐞 Bug Fixes - Don't clear mocks with vi.resetModules, cache normalised mock paths  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1726](https://togithub.com/vitest-dev/vitest/issues/1726) - Improve execution time counter  -  by [@​antfu](https://togithub.com/antfu) [(0d1f1)](https://togithub.com/vitest-dev/vitest/commit/0d1f1e87) - **browser**: Wait for files scanning in browser  -  by [@​Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/1704](https://togithub.com/vitest-dev/vitest/issues/1704) - **coverage**: Include `clover` reporter by default  -  by [@​antfu](https://togithub.com/antfu) [(5862e)](https://togithub.com/vitest-dev/vitest/commit/5862e32e) - **jsdom**: Use jsdom ArrayBuffer instead of Node, if jsdom is enabled  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1727](https://togithub.com/vitest-dev/vitest/issues/1727) - **types**: Fix MockedClass typeParams  -  by [@​Tanimodori](https://togithub.com/Tanimodori) in [https://github.com/vitest-dev/vitest/issues/1735](https://togithub.com/vitest-dev/vitest/issues/1735) - **ui**: Do not load graph if never displayed (fix [#​1602](https://togithub.com/vitest-dev/vitest/issues/1602))  -  by [@​MPeloquin](https://togithub.com/MPeloquin) in [https://github.com/vitest-dev/vitest/issues/1719](https://togithub.com/vitest-dev/vitest/issues/1719) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.19.1...v0.20.0) ### [`v0.19.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.19.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.19.0...v0.19.1) #####    🚀 Features - Add mock snapshot serializer  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1717](https://togithub.com/vitest-dev/vitest/issues/1717) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.19.0...v0.19.1) ### [`v0.19.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.19.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.18.1...v0.19.0) #####    🚨 Breaking Changes - Add CSS styles to DOM  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1690](https://togithub.com/vitest-dev/vitest/issues/1690) #####    🚀 Features - Add Playwright example  -  by [@​jfgreffier](https://togithub.com/jfgreffier) in [https://github.com/vitest-dev/vitest/issues/1670](https://togithub.com/vitest-dev/vitest/issues/1670) - Add location to json reporter  -  by [@​shiradofu](https://togithub.com/shiradofu) in [https://github.com/vitest-dev/vitest/issues/1656](https://togithub.com/vitest-dev/vitest/issues/1656) - Add alias option  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1634](https://togithub.com/vitest-dev/vitest/issues/1634) - Init [@​vitest/browser](https://togithub.com/vitest/browser) package  -  by [@​antfu](https://togithub.com/antfu), [@​userquin](https://togithub.com/userquin) and [@​Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/1302](https://togithub.com/vitest-dev/vitest/issues/1302) - Make close timeout configurable  -  by [@​krishnan-chandra](https://togithub.com/krishnan-chandra) in [https://github.com/vitest-dev/vitest/issues/1697](https://togithub.com/vitest-dev/vitest/issues/1697) #####    🐞 Bug Fixes - Exclude dist directory from default coverage  -  by [@​cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/1664](https://togithub.com/vitest-dev/vitest/issues/1664) - Exclude cypress config from default coverage  -  by [@​cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/1663](https://togithub.com/vitest-dev/vitest/issues/1663) - Works with yarn pnp  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1667](https://togithub.com/vitest-dev/vitest/issues/1667) - Code frame tabs indent (fix: [#​1679](https://togithub.com/vitest-dev/vitest/issues/1679))  -  by [@​skarab42](https://togithub.com/skarab42) in [https://github.com/vitest-dev/vitest/issues/1680](https://togithub.com/vitest-dev/vitest/issues/1680) - ToHaveProperty with expect.any (fix: [#​1675](https://togithub.com/vitest-dev/vitest/issues/1675))  -  by [@​skarab42](https://togithub.com/skarab42) in [https://github.com/vitest-dev/vitest/issues/1682](https://togithub.com/vitest-dev/vitest/issues/1682) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.18.1...v0.19.0) ### [`v0.18.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.18.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.18.0...v0.18.1) #####    🚀 Features - Make fallbackCJS mode try resolve from `/es/...` and `/lib/...`  -  by [@​zthxxx](https://togithub.com/zthxxx) in [https://github.com/vitest-dev/vitest/issues/1633](https://togithub.com/vitest-dev/vitest/issues/1633) #####    🐞 Bug Fixes - Add spec to defaults to exclude from coverage (fix [#​1612](https://togithub.com/vitest-dev/vitest/issues/1612))  -  by [@​pandyarudra](https://togithub.com/pandyarudra) in [https://github.com/vitest-dev/vitest/issues/1627](https://togithub.com/vitest-dev/vitest/issues/1627) - Mock properties of classes/functions (fix [#​1523](https://togithub.com/vitest-dev/vitest/issues/1523))  -  by [@​simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/1648](https://togithub.com/vitest-dev/vitest/issues/1648) - **types**: Fix `test.each` and `describe.each` types  -  by [@​Demivan](https://togithub.com/Demivan) in [https://github.com/vitest-dev/vitest/issues/1653](https://togithub.com/vitest-dev/vitest/issues/1653) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.18.0...v0.18.1) ### [`v0.18.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.18.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.17.1...v0.18.0) #####    🚨 Breaking Changes - TestSequencerConstructor typo  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/1618](https://togithub.com/vitest-dev/vitest/issues/1618) - **reporter**: Move `ctx.log` to `ctx.logger.log`, improve log flicking  -  by [@​userquin](https://togithub.com/userquin) and [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1166](https://togithub.com/vitest-dev/vitest/issues/1166) #####    🐞 Bug Fixes - Show error message when cache failed to parse  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1614](https://togithub.com/vitest-dev/vitest/issues/1614) - Move cache state to `ctx.cache`  -  by [@​antfu](https://togithub.com/antfu) [(695a7)](https://togithub.com/vitest-dev/vitest/commit/695a7a26) - **reporter**: Clear previous state on rerun  -  by [@​antfu](https://togithub.com/antfu) [(f7148)](https://togithub.com/vitest-dev/vitest/commit/f7148335) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.17.1...v0.18.0) ### [`v0.17.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.17.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.17.0...v0.17.1) #####    🚀 Features - Check related against `forceRerunTriggers`  -  by [@​elliotwestlake](https://togithub.com/elliotwestlake) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1595](https://togithub.com/vitest-dev/vitest/issues/1595) - Make sequencer public, add option to run tests in random order  -  by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1582](https://togithub.com/vitest-dev/vitest/issues/1582) #####    🐞 Bug Fixes - Use jsdom MessageEvent  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1594](https://togithub.com/vitest-dev/vitest/issues/1594) - Crash with odd cpu counts  -  by [@​yamazaki-sensei](https://togithub.com/yamazaki-sensei) in [https://github.com/vitest-dev/vitest/issues/1597](https://togithub.com/vitest-dev/vitest/issues/1597) - **vite-node**: Self circular reference  -  by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1609](https://togithub.com/vitest-dev/vitest/issues/1609) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.17.0...v0.17.1) ### [`v0.17.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.17.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.16.0...v0.17.0) #####    🚀 Features - Add vite 3 support  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1561](https://togithub.com/vitest-dev/vitest/issues/1561) - Support cts and mts config  -  by [@​sxzz](https://togithub.com/sxzz) in [https://github.com/vitest-dev/vitest/issues/1540](https://togithub.com/vitest-dev/vitest/issues/1540) - Support edge runtime  -  by [@​promer94](https://togithub.com/promer94) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1574](https://togithub.com/vitest-dev/vitest/issues/1574) - Add caching to run failed and longer tests first  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1541](https://togithub.com/vitest-dev/vitest/issues/1541) - **vite-node**: Vite hmr support  -  by [@​poyoho](https://togithub.com/poyoho) and [@​promer94](https://togithub.com/promer94) in [https://github.com/vitest-dev/vitest/issues/1516](https://togithub.com/vitest-dev/vitest/issues/1516) #####    🐞 Bug Fixes - Show full path to UI in terminal  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1549](https://togithub.com/vitest-dev/vitest/issues/1549) - Filter out invalid files  -  by [@​nieyuyao](https://togithub.com/nieyuyao) in [https://github.com/vitest-dev/vitest/issues/1553](https://togithub.com/vitest-dev/vitest/issues/1553) - Web worker using worker plugins  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1546](https://togithub.com/vitest-dev/vitest/issues/1546) - Correctly create snapshot for rejected errors  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1567](https://togithub.com/vitest-dev/vitest/issues/1567) - Mocking works with base url  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1581](https://togithub.com/vitest-dev/vitest/issues/1581) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.16.0...v0.17.0)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.



This PR has been generated by Mend Renovate. View repository job log here.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
unleash-frontend ✅ Ready (Inspect) Visit Preview Sep 3, 2022 at 2:01AM (UTC)