What's Changed
Fixes
- fix: keep Date objects on setData by @freakzlike in #1720
- fix: Make wrapper.find() enable to find ref in v-for directive by @hiromi2424 in #1723
- fix: duplicate results on findAllComponents with non-function slots by @freakzlike in #1736
- fix: coverage now needs @vitest/coverage-c8 by @cexbrayat in #1745
- fix: return the correct name when stubbing a
script setup
component by @joeyhuang0235 in #1783 - fix: Add props to stubs for built-in components by @wolfgangwalther in #1767
Other
- refactor: stubs types by @cexbrayat in #1773
- refactor: remove useless params in emits handling by @cexbrayat in #1777
- test: migrate to vitest by @okxiaoliang4 in #1637
Chore
- chore: remove babel dependencies and config by @cexbrayat in #1642
- chore: lockfile maintenance by @cexbrayat in #1643
- chore: switch to pnpm by @cexbrayat in #1644
- chore: configure renovate to group vite packages by @cexbrayat in #1685
- docs: update installation docs by @ryandialpad in #1693
- chore: use es2016 as a TS target by @cexbrayat in #1695
- chore: Update README since package manager was changed from yarn to npnm by @hiromi2424 in #1724
-
- chore: refactor and remove old files by @lmiller1990 in #1776
- chore: Add version info to bug report template by @freakzlike in #1729
- chore: Extend expose tests with not used function by @freakzlike in #1735
- chore: improve type for stub cache by @cexbrayat in #1743
- chore: improve type for mount with TS v4.8 by @cexbrayat in #1744
- chore: run tests in random order by @cexbrayat in #1747
New Contributors
- @ryandialpad made their first contribution in #1693
- @hiromi2424 made their first contribution in #1724
- @wolfgangwalther made their first contribution in #1767
- @joeyhuang0235 made their first contribution in #1783
Full Changelog: v2.0.2...v2.1.0