vuejs/test-utils
### [`v2.2.4`](https://togithub.com/vuejs/test-utils/releases/tag/v2.2.4)
[Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.2.3...v2.2.4)
#### What's Changed
- refactor: proper type for hasSetupState util function by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1865](https://togithub.com/vuejs/test-utils/pull/1865)
- chore: update to typescript v4.9.2 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1874](https://togithub.com/vuejs/test-utils/pull/1874)
- chore(deps): update all non-major dependencies by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1867](https://togithub.com/vuejs/test-utils/pull/1867)
- fix: allow to mock global function in script setup components by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1871](https://togithub.com/vuejs/test-utils/pull/1871)
**Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.2.3...v2.2.4
### [`v2.2.3`](https://togithub.com/vuejs/test-utils/releases/tag/v2.2.3)
[Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.2.2...v2.2.3)
#### What's Changed
- chore(deps): update vitest to v0.25.2 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1862](https://togithub.com/vuejs/test-utils/pull/1862)
- fix: allow spying on non-exposed script setup functions by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1860](https://togithub.com/vuejs/test-utils/pull/1860)
- fix: expose props on vm for script setup components by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1864](https://togithub.com/vuejs/test-utils/pull/1864)
- fix: allow mocking on script setup components by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1861](https://togithub.com/vuejs/test-utils/pull/1861)
**Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.2.2...v2.2.3
### [`v2.2.2`](https://togithub.com/vuejs/test-utils/releases/tag/v2.2.2)
[Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.2.1...v2.2.2)
##### Fixes
- fix(mount): correctly work with component throwing on mount by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1845](https://togithub.com/vuejs/test-utils/pull/1845)
- fix(emit): force event handling even with fake timers by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1856](https://togithub.com/vuejs/test-utils/pull/1856)
##### Other
- chore(deps): update vitest to v0.24.4 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1841](https://togithub.com/vuejs/test-utils/pull/1841)
- chore(deps): update vitest to v0.24.5 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1842](https://togithub.com/vuejs/test-utils/pull/1842)
- chore(deps): update all non-major dependencies by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1843](https://togithub.com/vuejs/test-utils/pull/1843)
- chore(mount): simplify mount operation by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1844](https://togithub.com/vuejs/test-utils/pull/1844)
- chore(deps): update vitest to v0.25.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1847](https://togithub.com/vuejs/test-utils/pull/1847)
- chore(deps): update vitest to v0.25.1 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1848](https://togithub.com/vuejs/test-utils/pull/1848)
- chore: update to vue v3.2.43 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1853](https://togithub.com/vuejs/test-utils/pull/1853)
- chore(deps): update all non-major dependencies by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1849](https://togithub.com/vuejs/test-utils/pull/1849)
- chore: update to vue v3.2.45 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1857](https://togithub.com/vuejs/test-utils/pull/1857)
- refactor: use a proxy for wrapper.vm by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1858](https://togithub.com/vuejs/test-utils/pull/1858)
**Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.2.1...v2.2.2
### [`v2.2.1`](https://togithub.com/vuejs/test-utils/releases/tag/v2.2.1)
[Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.2.0...v2.2.1)
#### What's Changed
- chore(deps): update dependency unplugin-vue-components to v0.22.9 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1828](https://togithub.com/vuejs/test-utils/pull/1828)
- chore(deps): update all non-major dependencies by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1835](https://togithub.com/vuejs/test-utils/pull/1835)
- chore(deps): update all non-major dependencies by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1837](https://togithub.com/vuejs/test-utils/pull/1837)
- docs(v-model): add v-model section by [@pikax](https://togithub.com/pikax) in [https://github.com/vuejs/test-utils/pull/1839](https://togithub.com/vuejs/test-utils/pull/1839)
- fix(stubs): teleport stub children as a function by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1833](https://togithub.com/vuejs/test-utils/pull/1833)
- chore: ignore js-beautify updates in renovate by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1840](https://togithub.com/vuejs/test-utils/pull/1840)
- chore(deps): update dependency [@types/node](https://togithub.com/types/node) to v18.11.7 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1838](https://togithub.com/vuejs/test-utils/pull/1838)
**Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.2.0...v2.2.1
### [`v2.2.0`](https://togithub.com/vuejs/test-utils/releases/tag/v2.2.0)
[Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.1.0...v2.2.0)
#### What's Changed
##### Features
- feat(setValue): allow array for multiselect .setValue() method by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1825](https://togithub.com/vuejs/test-utils/pull/1825)
- feat(wrapper): Add raw option to .html() by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1827](https://togithub.com/vuejs/test-utils/pull/1827)
- feat(stubs): Allow to stub directives (fixes [#1800](https://togithub.com/vuejs/test-utils/issues/1800)) by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1804](https://togithub.com/vuejs/test-utils/pull/1804)
##### Fixes
- fix(compat): do not overwrite globalProperties merge them instead by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1788](https://togithub.com/vuejs/test-utils/pull/1788)
- fix(element): return correct element for component which renders other component while passing array of vnodes in default slot by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1789](https://togithub.com/vuejs/test-utils/pull/1789)
- fix: cleanup event listeners on unmount by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1793](https://togithub.com/vuejs/test-utils/pull/1793)
- fix(config): Do not use config.renderStubDefaultSlot by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1797](https://togithub.com/vuejs/test-utils/pull/1797)
- fix(stubs): Do not render function body in stub by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1819](https://togithub.com/vuejs/test-utils/pull/1819)
##### Other
- chore(deps): update dependency rollup-plugin-typescript2 to v0.34.1 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1790](https://togithub.com/vuejs/test-utils/pull/1790)
- chore(deps): update all non-major dependencies by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1794](https://togithub.com/vuejs/test-utils/pull/1794)
- chore(deps): update dependency unplugin-vue-components to v0.22.8 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1795](https://togithub.com/vuejs/test-utils/pull/1795)
- added typescript documentation to plugins.md by [@mrcwbr](https://togithub.com/mrcwbr) in [https://github.com/vuejs/test-utils/pull/1796](https://togithub.com/vuejs/test-utils/pull/1796)
- chore(deps): update dependency vue-tsc to v1 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1802](https://togithub.com/vuejs/test-utils/pull/1802)
- chore(deps): update dependency [@rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs) to v23 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1803](https://togithub.com/vuejs/test-utils/pull/1803)
- chore(deps): update dependency [@rollup/plugin-json](https://togithub.com/rollup/plugin-json) to v5 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1805](https://togithub.com/vuejs/test-utils/pull/1805)
- chore(deps): update dependency [@rollup/plugin-node-resolve](https://togithub.com/rollup/plugin-node-resolve) to v15 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1806](https://togithub.com/vuejs/test-utils/pull/1806)
- chore(deps): update dependency [@rollup/plugin-replace](https://togithub.com/rollup/plugin-replace) to v5 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1808](https://togithub.com/vuejs/test-utils/pull/1808)
- chore(deps): update pnpm/action-setup action to v2.2.3 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1809](https://togithub.com/vuejs/test-utils/pull/1809)
- chore(scripts): add prepare script by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1812](https://togithub.com/vuejs/test-utils/pull/1812)
- chore: use [@rollup/plugin-typescript](https://togithub.com/rollup/plugin-typescript) by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1811](https://togithub.com/vuejs/test-utils/pull/1811)
- chore: use a typescript rollup config by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1814](https://togithub.com/vuejs/test-utils/pull/1814)
- chore: use --bundleConfigAsCjs to load rollup config by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1816](https://togithub.com/vuejs/test-utils/pull/1816)
- chore: support node v18 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1817](https://togithub.com/vuejs/test-utils/pull/1817)
- chore(deps): update pnpm/action-setup action to v2.2.4 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1820](https://togithub.com/vuejs/test-utils/pull/1820)
- chore(deps): update all non-major dependencies by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1821](https://togithub.com/vuejs/test-utils/pull/1821)
- chore: update to vitest v0.24.3 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1823](https://togithub.com/vuejs/test-utils/pull/1823)
- chore(deps): update dependency [@vitest/coverage-c8](https://togithub.com/vitest/coverage-c8) to v0.24.3 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1824](https://togithub.com/vuejs/test-utils/pull/1824)
#### New Contributors
- [@mrcwbr](https://togithub.com/mrcwbr) made their first contribution in [https://github.com/vuejs/test-utils/pull/1796](https://togithub.com/vuejs/test-utils/pull/1796)
**Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.1.0...v2.2.0
### [`v2.1.0`](https://togithub.com/vuejs/test-utils/releases/tag/v2.1.0)
[Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.0.2...v2.1.0)
#### What's Changed
#### Fixes
- fix: keep Date objects on setData by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1720](https://togithub.com/vuejs/test-utils/pull/1720)
- fix: Make wrapper.find() enable to find ref in v-for directive by [@hiromi2424](https://togithub.com/hiromi2424) in [https://github.com/vuejs/test-utils/pull/1723](https://togithub.com/vuejs/test-utils/pull/1723)
- fix: duplicate results on findAllComponents with non-function slots by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1736](https://togithub.com/vuejs/test-utils/pull/1736)
- fix: coverage now needs [@vitest/coverage-c8](https://togithub.com/vitest/coverage-c8) by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1745](https://togithub.com/vuejs/test-utils/pull/1745)
- fix: return the correct name when stubbing a `script setup` component by [@joeyhuang0235](https://togithub.com/joeyhuang0235) in [https://github.com/vuejs/test-utils/pull/1783](https://togithub.com/vuejs/test-utils/pull/1783)
- fix: Add props to stubs for built-in components by [@wolfgangwalther](https://togithub.com/wolfgangwalther) in [https://github.com/vuejs/test-utils/pull/1767](https://togithub.com/vuejs/test-utils/pull/1767)
#### Other
- refactor: stubs types by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1773](https://togithub.com/vuejs/test-utils/pull/1773)
- refactor: remove useless params in emits handling by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1777](https://togithub.com/vuejs/test-utils/pull/1777)
- test: migrate to vitest by [@okxiaoliang4](https://togithub.com/okxiaoliang4) in [https://github.com/vuejs/test-utils/pull/1637](https://togithub.com/vuejs/test-utils/pull/1637)
#### Chore
- chore: remove babel dependencies and config by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1642](https://togithub.com/vuejs/test-utils/pull/1642)
- chore: lockfile maintenance by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1643](https://togithub.com/vuejs/test-utils/pull/1643)
- chore: switch to pnpm by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1644](https://togithub.com/vuejs/test-utils/pull/1644)
- chore: configure renovate to group vite packages by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1685](https://togithub.com/vuejs/test-utils/pull/1685)
- docs: update installation docs by [@ryandialpad](https://togithub.com/ryandialpad) in [https://github.com/vuejs/test-utils/pull/1693](https://togithub.com/vuejs/test-utils/pull/1693)
- chore: use es2016 as a TS target by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1695](https://togithub.com/vuejs/test-utils/pull/1695)
- chore: Update README since package manager was changed from yarn to npnm by [@hiromi2424](https://togithub.com/hiromi2424) in [https://github.com/vuejs/test-utils/pull/1724](https://togithub.com/vuejs/test-utils/pull/1724)
- - chore: refactor and remove old files by [@lmiller1990](https://togithub.com/lmiller1990) in [https://github.com/vuejs/test-utils/pull/1776](https://togithub.com/vuejs/test-utils/pull/1776)
- chore: Add version info to bug report template by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1729](https://togithub.com/vuejs/test-utils/pull/1729)
- chore: Extend expose tests with not used function by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1735](https://togithub.com/vuejs/test-utils/pull/1735)
- chore: improve type for stub cache by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1743](https://togithub.com/vuejs/test-utils/pull/1743)
- chore: improve type for mount with TS v4.8 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1744](https://togithub.com/vuejs/test-utils/pull/1744)
- chore: run tests in random order by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1747](https://togithub.com/vuejs/test-utils/pull/1747)
#### New Contributors
- [@ryandialpad](https://togithub.com/ryandialpad) made their first contribution in [https://github.com/vuejs/test-utils/pull/1693](https://togithub.com/vuejs/test-utils/pull/1693)
- [@hiromi2424](https://togithub.com/hiromi2424) made their first contribution in [https://github.com/vuejs/test-utils/pull/1724](https://togithub.com/vuejs/test-utils/pull/1724)
- [@wolfgangwalther](https://togithub.com/wolfgangwalther) made their first contribution in [https://github.com/vuejs/test-utils/pull/1767](https://togithub.com/vuejs/test-utils/pull/1767)
- [@joeyhuang0235](https://togithub.com/joeyhuang0235) made their first contribution in [https://github.com/vuejs/test-utils/pull/1783](https://togithub.com/vuejs/test-utils/pull/1783)
**Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.0.2...v2.1.0
### [`v2.0.2`](https://togithub.com/vuejs/test-utils/releases/tag/v2.0.2)
[Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.0.1...v2.0.2)
##### What's Changed
##### Fixes
- fix: fix typo by [@liuzhuan](https://togithub.com/liuzhuan) in [https://github.com/vuejs/test-utils/pull/1608](https://togithub.com/vuejs/test-utils/pull/1608)
- fix: check if component unmounted in Wrapper.exists() by [@Djaler](https://togithub.com/Djaler) in [https://github.com/vuejs/test-utils/pull/1629](https://togithub.com/vuejs/test-utils/pull/1629)
- fix: algolia appId by [@okxiaoliang4](https://togithub.com/okxiaoliang4) in [https://github.com/vuejs/test-utils/pull/1636](https://togithub.com/vuejs/test-utils/pull/1636)
##### Docs
- docs: Documentation Update (Issue 1632) by [@N8ers](https://togithub.com/N8ers) in [https://github.com/vuejs/test-utils/pull/1635](https://togithub.com/vuejs/test-utils/pull/1635)
##### Chore/Other
- chore(types): improve typing of emitted by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1640](https://togithub.com/vuejs/test-utils/pull/1640)
- repro: type-checking issue with script setup in v2.0.1 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1601](https://togithub.com/vuejs/test-utils/pull/1601)
##### New Contributors
- [@liuzhuan](https://togithub.com/liuzhuan) made their first contribution in [https://github.com/vuejs/test-utils/pull/1608](https://togithub.com/vuejs/test-utils/pull/1608)
- [@Djaler](https://togithub.com/Djaler) made their first contribution in [https://github.com/vuejs/test-utils/pull/1629](https://togithub.com/vuejs/test-utils/pull/1629)
- [@N8ers](https://togithub.com/N8ers) made their first contribution in [https://github.com/vuejs/test-utils/pull/1635](https://togithub.com/vuejs/test-utils/pull/1635)
- [@okxiaoliang4](https://togithub.com/okxiaoliang4) made their first contribution in [https://github.com/vuejs/test-utils/pull/1636](https://togithub.com/vuejs/test-utils/pull/1636)
**Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.0.1...v2.0.2
### [`v2.0.1`](https://togithub.com/vuejs/test-utils/releases/tag/v2.0.1)
[Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.0.0...v2.0.1)
Test Utils is quite stable now, so most of the changes here are minor fixes.
The next "big ticket" feature will be SSR support. You can track it here: [https://github.com/vuejs/test-utils/pull/1572](https://togithub.com/vuejs/test-utils/pull/1572)
#### Fixes
- fix(compat): declare RouterLinkStub as compatibility mode 3 by [@snoozbuster](https://togithub.com/snoozbuster) in [https://github.com/vuejs/test-utils/pull/1549](https://togithub.com/vuejs/test-utils/pull/1549)
- fix(types): Export BaseWrapper from index.ts by [@snoozbuster](https://togithub.com/snoozbuster) in [https://github.com/vuejs/test-utils/pull/1548](https://togithub.com/vuejs/test-utils/pull/1548)
- fix: export package.json from module by [@snoozbuster](https://togithub.com/snoozbuster) in [https://github.com/vuejs/test-utils/pull/1542](https://togithub.com/vuejs/test-utils/pull/1542)
- fix(utils): getRootNodes flattens only one depth of children by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1546](https://togithub.com/vuejs/test-utils/pull/1546)
- fix(compat): respect v-model in vue 2 with compat build by [@snoozbuster](https://togithub.com/snoozbuster) in [https://github.com/vuejs/test-utils/pull/1565](https://togithub.com/vuejs/test-utils/pull/1565)
#### Chores/Dependencies
- chore(deps-dev): bump [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.27.0 to 5.27.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1583](https://togithub.com/vuejs/test-utils/pull/1583)
- chore: add return type to createStub by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1544](https://togithub.com/vuejs/test-utils/pull/1544)
- chore: lockfile maintenance by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1543](https://togithub.com/vuejs/test-utils/pull/1543)
- chore(deps-dev): bump [@vue/compiler-sfc](https://togithub.com/vue/compiler-sfc) from 3.2.34 to 3.2.36 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1527](https://togithub.com/vuejs/test-utils/pull/1527)
- chore: bump vue to v3.2.26 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1545](https://togithub.com/vuejs/test-utils/pull/1545)
- chore(deps-dev): bump vue-tsc from 0.34.15 to 0.34.16 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1532](https://togithub.com/vuejs/test-utils/pull/1532)
- chore(deps-dev): bump rollup from 2.74.1 to 2.75.5 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1564](https://togithub.com/vuejs/test-utils/pull/1564)
- chore(deps-dev): bump lint-staged from 12.4.2 to 13.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1563](https://togithub.com/vuejs/test-utils/pull/1563)
- chore(deps-dev): bump [@types/node](https://togithub.com/types/node) from 17.0.35 to 17.0.38 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1562](https://togithub.com/vuejs/test-utils/pull/1562)
- chore(deps-dev): bump [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.26.0 to 5.27.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1556](https://togithub.com/vuejs/test-utils/pull/1556)
- chore(deps-dev): bump vue-tsc from 0.34.16 to 0.35.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1555](https://togithub.com/vuejs/test-utils/pull/1555)
- chore(deps-dev): bump [@babel/types](https://togithub.com/babel/types) from 7.18.2 to 7.18.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1551](https://togithub.com/vuejs/test-utils/pull/1551)
- chore(deps-dev): bump [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.26.0 to 5.27.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1553](https://togithub.com/vuejs/test-utils/pull/1553)
- chore(deps-dev): bump rollup-plugin-typescript2 from 0.31.2 to 0.32.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1566](https://togithub.com/vuejs/test-utils/pull/1566)
- chore(find): extend tests with deep nested multiple roots by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1569](https://togithub.com/vuejs/test-utils/pull/1569)
- chore(deps-dev): bump [@types/node](https://togithub.com/types/node) from 17.0.38 to 17.0.39 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1570](https://togithub.com/vuejs/test-utils/pull/1570)
- chore(deps-dev): bump eslint from 8.16.0 to 8.17.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1579](https://togithub.com/vuejs/test-utils/pull/1579)
- chore(deps-dev): bump typescript from 4.6.4 to 4.7.3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1578](https://togithub.com/vuejs/test-utils/pull/1578)
- chore(deps-dev): bump [@types/node](https://togithub.com/types/node) from 17.0.39 to 17.0.40 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1576](https://togithub.com/vuejs/test-utils/pull/1576)
- chore(deps-dev): bump [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.27.0 to 5.27.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1582](https://togithub.com/vuejs/test-utils/pull/1582)
- chore: update Vue to 3.2.37 by [@lmiller1990](https://togithub.com/lmiller1990) in [https://github.com/vuejs/test-utils/pull/1585](https://togithub.com/vuejs/test-utils/pull/1585)
- chore(deps-dev): bump rollup from 2.75.5 to 2.75.6 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1586](https://togithub.com/vuejs/test-utils/pull/1586)
- chore(deps-dev): bump babel-preset-jest from 28.0.2 to 28.1.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1588](https://togithub.com/vuejs/test-utils/pull/1588)
- chore(deps-dev): bump lint-staged from 13.0.0 to 13.0.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1591](https://togithub.com/vuejs/test-utils/pull/1591)
- chore(deps-dev): bump vue-router from 4.0.15 to 4.0.16 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1593](https://togithub.com/vuejs/test-utils/pull/1593)
- chore(deps-dev): bump [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.27.1 to 5.28.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1598](https://togithub.com/vuejs/test-utils/pull/1598)
- chore(deps-dev): bump [@types/node](https://togithub.com/types/node) from 17.0.40 to 17.0.42 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1594](https://togithub.com/vuejs/test-utils/pull/1594)
- chore(deps-dev): bump [@babel/core](https://togithub.com/babel/core) from 7.18.2 to 7.18.5 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1596](https://togithub.com/vuejs/test-utils/pull/1596)
- chore(deps-dev): bump [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.27.1 to 5.28.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1595](https://togithub.com/vuejs/test-utils/pull/1595)
- chore(deps-dev): bump rollup-plugin-typescript2 from 0.32.0 to 0.32.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1587](https://togithub.com/vuejs/test-utils/pull/1587)
- chore(deps-dev): bump prettier from 2.6.2 to 2.7.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1600](https://togithub.com/vuejs/test-utils/pull/1600)
📅 Schedule: Branch creation - "after 10pm every weekday,before 6am every weekday" in timezone Asia/Tokyo, 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, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.3.0
->2.2.4
Release Notes
vuejs/test-utils
### [`v2.2.4`](https://togithub.com/vuejs/test-utils/releases/tag/v2.2.4) [Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.2.3...v2.2.4) #### What's Changed - refactor: proper type for hasSetupState util function by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1865](https://togithub.com/vuejs/test-utils/pull/1865) - chore: update to typescript v4.9.2 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1874](https://togithub.com/vuejs/test-utils/pull/1874) - chore(deps): update all non-major dependencies by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1867](https://togithub.com/vuejs/test-utils/pull/1867) - fix: allow to mock global function in script setup components by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1871](https://togithub.com/vuejs/test-utils/pull/1871) **Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.2.3...v2.2.4 ### [`v2.2.3`](https://togithub.com/vuejs/test-utils/releases/tag/v2.2.3) [Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.2.2...v2.2.3) #### What's Changed - chore(deps): update vitest to v0.25.2 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1862](https://togithub.com/vuejs/test-utils/pull/1862) - fix: allow spying on non-exposed script setup functions by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1860](https://togithub.com/vuejs/test-utils/pull/1860) - fix: expose props on vm for script setup components by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1864](https://togithub.com/vuejs/test-utils/pull/1864) - fix: allow mocking on script setup components by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1861](https://togithub.com/vuejs/test-utils/pull/1861) **Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.2.2...v2.2.3 ### [`v2.2.2`](https://togithub.com/vuejs/test-utils/releases/tag/v2.2.2) [Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.2.1...v2.2.2) ##### Fixes - fix(mount): correctly work with component throwing on mount by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1845](https://togithub.com/vuejs/test-utils/pull/1845) - fix(emit): force event handling even with fake timers by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1856](https://togithub.com/vuejs/test-utils/pull/1856) ##### Other - chore(deps): update vitest to v0.24.4 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1841](https://togithub.com/vuejs/test-utils/pull/1841) - chore(deps): update vitest to v0.24.5 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1842](https://togithub.com/vuejs/test-utils/pull/1842) - chore(deps): update all non-major dependencies by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1843](https://togithub.com/vuejs/test-utils/pull/1843) - chore(mount): simplify mount operation by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1844](https://togithub.com/vuejs/test-utils/pull/1844) - chore(deps): update vitest to v0.25.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1847](https://togithub.com/vuejs/test-utils/pull/1847) - chore(deps): update vitest to v0.25.1 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1848](https://togithub.com/vuejs/test-utils/pull/1848) - chore: update to vue v3.2.43 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1853](https://togithub.com/vuejs/test-utils/pull/1853) - chore(deps): update all non-major dependencies by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1849](https://togithub.com/vuejs/test-utils/pull/1849) - chore: update to vue v3.2.45 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1857](https://togithub.com/vuejs/test-utils/pull/1857) - refactor: use a proxy for wrapper.vm by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1858](https://togithub.com/vuejs/test-utils/pull/1858) **Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.2.1...v2.2.2 ### [`v2.2.1`](https://togithub.com/vuejs/test-utils/releases/tag/v2.2.1) [Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.2.0...v2.2.1) #### What's Changed - chore(deps): update dependency unplugin-vue-components to v0.22.9 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1828](https://togithub.com/vuejs/test-utils/pull/1828) - chore(deps): update all non-major dependencies by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1835](https://togithub.com/vuejs/test-utils/pull/1835) - chore(deps): update all non-major dependencies by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1837](https://togithub.com/vuejs/test-utils/pull/1837) - docs(v-model): add v-model section by [@pikax](https://togithub.com/pikax) in [https://github.com/vuejs/test-utils/pull/1839](https://togithub.com/vuejs/test-utils/pull/1839) - fix(stubs): teleport stub children as a function by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1833](https://togithub.com/vuejs/test-utils/pull/1833) - chore: ignore js-beautify updates in renovate by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1840](https://togithub.com/vuejs/test-utils/pull/1840) - chore(deps): update dependency [@types/node](https://togithub.com/types/node) to v18.11.7 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1838](https://togithub.com/vuejs/test-utils/pull/1838) **Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.2.0...v2.2.1 ### [`v2.2.0`](https://togithub.com/vuejs/test-utils/releases/tag/v2.2.0) [Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.1.0...v2.2.0) #### What's Changed ##### Features - feat(setValue): allow array for multiselect .setValue() method by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1825](https://togithub.com/vuejs/test-utils/pull/1825) - feat(wrapper): Add raw option to .html() by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1827](https://togithub.com/vuejs/test-utils/pull/1827) - feat(stubs): Allow to stub directives (fixes [#1800](https://togithub.com/vuejs/test-utils/issues/1800)) by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1804](https://togithub.com/vuejs/test-utils/pull/1804) ##### Fixes - fix(compat): do not overwrite globalProperties merge them instead by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1788](https://togithub.com/vuejs/test-utils/pull/1788) - fix(element): return correct element for component which renders other component while passing array of vnodes in default slot by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1789](https://togithub.com/vuejs/test-utils/pull/1789) - fix: cleanup event listeners on unmount by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1793](https://togithub.com/vuejs/test-utils/pull/1793) - fix(config): Do not use config.renderStubDefaultSlot by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1797](https://togithub.com/vuejs/test-utils/pull/1797) - fix(stubs): Do not render function body in stub by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1819](https://togithub.com/vuejs/test-utils/pull/1819) ##### Other - chore(deps): update dependency rollup-plugin-typescript2 to v0.34.1 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1790](https://togithub.com/vuejs/test-utils/pull/1790) - chore(deps): update all non-major dependencies by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1794](https://togithub.com/vuejs/test-utils/pull/1794) - chore(deps): update dependency unplugin-vue-components to v0.22.8 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1795](https://togithub.com/vuejs/test-utils/pull/1795) - added typescript documentation to plugins.md by [@mrcwbr](https://togithub.com/mrcwbr) in [https://github.com/vuejs/test-utils/pull/1796](https://togithub.com/vuejs/test-utils/pull/1796) - chore(deps): update dependency vue-tsc to v1 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1802](https://togithub.com/vuejs/test-utils/pull/1802) - chore(deps): update dependency [@rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs) to v23 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1803](https://togithub.com/vuejs/test-utils/pull/1803) - chore(deps): update dependency [@rollup/plugin-json](https://togithub.com/rollup/plugin-json) to v5 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1805](https://togithub.com/vuejs/test-utils/pull/1805) - chore(deps): update dependency [@rollup/plugin-node-resolve](https://togithub.com/rollup/plugin-node-resolve) to v15 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1806](https://togithub.com/vuejs/test-utils/pull/1806) - chore(deps): update dependency [@rollup/plugin-replace](https://togithub.com/rollup/plugin-replace) to v5 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1808](https://togithub.com/vuejs/test-utils/pull/1808) - chore(deps): update pnpm/action-setup action to v2.2.3 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1809](https://togithub.com/vuejs/test-utils/pull/1809) - chore(scripts): add prepare script by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1812](https://togithub.com/vuejs/test-utils/pull/1812) - chore: use [@rollup/plugin-typescript](https://togithub.com/rollup/plugin-typescript) by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1811](https://togithub.com/vuejs/test-utils/pull/1811) - chore: use a typescript rollup config by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1814](https://togithub.com/vuejs/test-utils/pull/1814) - chore: use --bundleConfigAsCjs to load rollup config by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1816](https://togithub.com/vuejs/test-utils/pull/1816) - chore: support node v18 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1817](https://togithub.com/vuejs/test-utils/pull/1817) - chore(deps): update pnpm/action-setup action to v2.2.4 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1820](https://togithub.com/vuejs/test-utils/pull/1820) - chore(deps): update all non-major dependencies by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1821](https://togithub.com/vuejs/test-utils/pull/1821) - chore: update to vitest v0.24.3 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1823](https://togithub.com/vuejs/test-utils/pull/1823) - chore(deps): update dependency [@vitest/coverage-c8](https://togithub.com/vitest/coverage-c8) to v0.24.3 by [@renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/1824](https://togithub.com/vuejs/test-utils/pull/1824) #### New Contributors - [@mrcwbr](https://togithub.com/mrcwbr) made their first contribution in [https://github.com/vuejs/test-utils/pull/1796](https://togithub.com/vuejs/test-utils/pull/1796) **Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.1.0...v2.2.0 ### [`v2.1.0`](https://togithub.com/vuejs/test-utils/releases/tag/v2.1.0) [Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.0.2...v2.1.0) #### What's Changed #### Fixes - fix: keep Date objects on setData by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1720](https://togithub.com/vuejs/test-utils/pull/1720) - fix: Make wrapper.find() enable to find ref in v-for directive by [@hiromi2424](https://togithub.com/hiromi2424) in [https://github.com/vuejs/test-utils/pull/1723](https://togithub.com/vuejs/test-utils/pull/1723) - fix: duplicate results on findAllComponents with non-function slots by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1736](https://togithub.com/vuejs/test-utils/pull/1736) - fix: coverage now needs [@vitest/coverage-c8](https://togithub.com/vitest/coverage-c8) by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1745](https://togithub.com/vuejs/test-utils/pull/1745) - fix: return the correct name when stubbing a `script setup` component by [@joeyhuang0235](https://togithub.com/joeyhuang0235) in [https://github.com/vuejs/test-utils/pull/1783](https://togithub.com/vuejs/test-utils/pull/1783) - fix: Add props to stubs for built-in components by [@wolfgangwalther](https://togithub.com/wolfgangwalther) in [https://github.com/vuejs/test-utils/pull/1767](https://togithub.com/vuejs/test-utils/pull/1767) #### Other - refactor: stubs types by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1773](https://togithub.com/vuejs/test-utils/pull/1773) - refactor: remove useless params in emits handling by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1777](https://togithub.com/vuejs/test-utils/pull/1777) - test: migrate to vitest by [@okxiaoliang4](https://togithub.com/okxiaoliang4) in [https://github.com/vuejs/test-utils/pull/1637](https://togithub.com/vuejs/test-utils/pull/1637) #### Chore - chore: remove babel dependencies and config by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1642](https://togithub.com/vuejs/test-utils/pull/1642) - chore: lockfile maintenance by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1643](https://togithub.com/vuejs/test-utils/pull/1643) - chore: switch to pnpm by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1644](https://togithub.com/vuejs/test-utils/pull/1644) - chore: configure renovate to group vite packages by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1685](https://togithub.com/vuejs/test-utils/pull/1685) - docs: update installation docs by [@ryandialpad](https://togithub.com/ryandialpad) in [https://github.com/vuejs/test-utils/pull/1693](https://togithub.com/vuejs/test-utils/pull/1693) - chore: use es2016 as a TS target by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1695](https://togithub.com/vuejs/test-utils/pull/1695) - chore: Update README since package manager was changed from yarn to npnm by [@hiromi2424](https://togithub.com/hiromi2424) in [https://github.com/vuejs/test-utils/pull/1724](https://togithub.com/vuejs/test-utils/pull/1724) - - chore: refactor and remove old files by [@lmiller1990](https://togithub.com/lmiller1990) in [https://github.com/vuejs/test-utils/pull/1776](https://togithub.com/vuejs/test-utils/pull/1776) - chore: Add version info to bug report template by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1729](https://togithub.com/vuejs/test-utils/pull/1729) - chore: Extend expose tests with not used function by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1735](https://togithub.com/vuejs/test-utils/pull/1735) - chore: improve type for stub cache by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1743](https://togithub.com/vuejs/test-utils/pull/1743) - chore: improve type for mount with TS v4.8 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1744](https://togithub.com/vuejs/test-utils/pull/1744) - chore: run tests in random order by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1747](https://togithub.com/vuejs/test-utils/pull/1747) #### New Contributors - [@ryandialpad](https://togithub.com/ryandialpad) made their first contribution in [https://github.com/vuejs/test-utils/pull/1693](https://togithub.com/vuejs/test-utils/pull/1693) - [@hiromi2424](https://togithub.com/hiromi2424) made their first contribution in [https://github.com/vuejs/test-utils/pull/1724](https://togithub.com/vuejs/test-utils/pull/1724) - [@wolfgangwalther](https://togithub.com/wolfgangwalther) made their first contribution in [https://github.com/vuejs/test-utils/pull/1767](https://togithub.com/vuejs/test-utils/pull/1767) - [@joeyhuang0235](https://togithub.com/joeyhuang0235) made their first contribution in [https://github.com/vuejs/test-utils/pull/1783](https://togithub.com/vuejs/test-utils/pull/1783) **Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.0.2...v2.1.0 ### [`v2.0.2`](https://togithub.com/vuejs/test-utils/releases/tag/v2.0.2) [Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.0.1...v2.0.2) ##### What's Changed ##### Fixes - fix: fix typo by [@liuzhuan](https://togithub.com/liuzhuan) in [https://github.com/vuejs/test-utils/pull/1608](https://togithub.com/vuejs/test-utils/pull/1608) - fix: check if component unmounted in Wrapper.exists() by [@Djaler](https://togithub.com/Djaler) in [https://github.com/vuejs/test-utils/pull/1629](https://togithub.com/vuejs/test-utils/pull/1629) - fix: algolia appId by [@okxiaoliang4](https://togithub.com/okxiaoliang4) in [https://github.com/vuejs/test-utils/pull/1636](https://togithub.com/vuejs/test-utils/pull/1636) ##### Docs - docs: Documentation Update (Issue 1632) by [@N8ers](https://togithub.com/N8ers) in [https://github.com/vuejs/test-utils/pull/1635](https://togithub.com/vuejs/test-utils/pull/1635) ##### Chore/Other - chore(types): improve typing of emitted by [@xanf](https://togithub.com/xanf) in [https://github.com/vuejs/test-utils/pull/1640](https://togithub.com/vuejs/test-utils/pull/1640) - repro: type-checking issue with script setup in v2.0.1 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1601](https://togithub.com/vuejs/test-utils/pull/1601) ##### New Contributors - [@liuzhuan](https://togithub.com/liuzhuan) made their first contribution in [https://github.com/vuejs/test-utils/pull/1608](https://togithub.com/vuejs/test-utils/pull/1608) - [@Djaler](https://togithub.com/Djaler) made their first contribution in [https://github.com/vuejs/test-utils/pull/1629](https://togithub.com/vuejs/test-utils/pull/1629) - [@N8ers](https://togithub.com/N8ers) made their first contribution in [https://github.com/vuejs/test-utils/pull/1635](https://togithub.com/vuejs/test-utils/pull/1635) - [@okxiaoliang4](https://togithub.com/okxiaoliang4) made their first contribution in [https://github.com/vuejs/test-utils/pull/1636](https://togithub.com/vuejs/test-utils/pull/1636) **Full Changelog**: https://github.com/vuejs/test-utils/compare/v2.0.1...v2.0.2 ### [`v2.0.1`](https://togithub.com/vuejs/test-utils/releases/tag/v2.0.1) [Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.0.0...v2.0.1) Test Utils is quite stable now, so most of the changes here are minor fixes. The next "big ticket" feature will be SSR support. You can track it here: [https://github.com/vuejs/test-utils/pull/1572](https://togithub.com/vuejs/test-utils/pull/1572) #### Fixes - fix(compat): declare RouterLinkStub as compatibility mode 3 by [@snoozbuster](https://togithub.com/snoozbuster) in [https://github.com/vuejs/test-utils/pull/1549](https://togithub.com/vuejs/test-utils/pull/1549) - fix(types): Export BaseWrapper from index.ts by [@snoozbuster](https://togithub.com/snoozbuster) in [https://github.com/vuejs/test-utils/pull/1548](https://togithub.com/vuejs/test-utils/pull/1548) - fix: export package.json from module by [@snoozbuster](https://togithub.com/snoozbuster) in [https://github.com/vuejs/test-utils/pull/1542](https://togithub.com/vuejs/test-utils/pull/1542) - fix(utils): getRootNodes flattens only one depth of children by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1546](https://togithub.com/vuejs/test-utils/pull/1546) - fix(compat): respect v-model in vue 2 with compat build by [@snoozbuster](https://togithub.com/snoozbuster) in [https://github.com/vuejs/test-utils/pull/1565](https://togithub.com/vuejs/test-utils/pull/1565) #### Chores/Dependencies - chore(deps-dev): bump [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.27.0 to 5.27.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1583](https://togithub.com/vuejs/test-utils/pull/1583) - chore: add return type to createStub by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1544](https://togithub.com/vuejs/test-utils/pull/1544) - chore: lockfile maintenance by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1543](https://togithub.com/vuejs/test-utils/pull/1543) - chore(deps-dev): bump [@vue/compiler-sfc](https://togithub.com/vue/compiler-sfc) from 3.2.34 to 3.2.36 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1527](https://togithub.com/vuejs/test-utils/pull/1527) - chore: bump vue to v3.2.26 by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vuejs/test-utils/pull/1545](https://togithub.com/vuejs/test-utils/pull/1545) - chore(deps-dev): bump vue-tsc from 0.34.15 to 0.34.16 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1532](https://togithub.com/vuejs/test-utils/pull/1532) - chore(deps-dev): bump rollup from 2.74.1 to 2.75.5 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1564](https://togithub.com/vuejs/test-utils/pull/1564) - chore(deps-dev): bump lint-staged from 12.4.2 to 13.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1563](https://togithub.com/vuejs/test-utils/pull/1563) - chore(deps-dev): bump [@types/node](https://togithub.com/types/node) from 17.0.35 to 17.0.38 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1562](https://togithub.com/vuejs/test-utils/pull/1562) - chore(deps-dev): bump [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.26.0 to 5.27.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1556](https://togithub.com/vuejs/test-utils/pull/1556) - chore(deps-dev): bump vue-tsc from 0.34.16 to 0.35.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1555](https://togithub.com/vuejs/test-utils/pull/1555) - chore(deps-dev): bump [@babel/types](https://togithub.com/babel/types) from 7.18.2 to 7.18.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1551](https://togithub.com/vuejs/test-utils/pull/1551) - chore(deps-dev): bump [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.26.0 to 5.27.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1553](https://togithub.com/vuejs/test-utils/pull/1553) - chore(deps-dev): bump rollup-plugin-typescript2 from 0.31.2 to 0.32.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1566](https://togithub.com/vuejs/test-utils/pull/1566) - chore(find): extend tests with deep nested multiple roots by [@freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/1569](https://togithub.com/vuejs/test-utils/pull/1569) - chore(deps-dev): bump [@types/node](https://togithub.com/types/node) from 17.0.38 to 17.0.39 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1570](https://togithub.com/vuejs/test-utils/pull/1570) - chore(deps-dev): bump eslint from 8.16.0 to 8.17.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1579](https://togithub.com/vuejs/test-utils/pull/1579) - chore(deps-dev): bump typescript from 4.6.4 to 4.7.3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1578](https://togithub.com/vuejs/test-utils/pull/1578) - chore(deps-dev): bump [@types/node](https://togithub.com/types/node) from 17.0.39 to 17.0.40 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1576](https://togithub.com/vuejs/test-utils/pull/1576) - chore(deps-dev): bump [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.27.0 to 5.27.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1582](https://togithub.com/vuejs/test-utils/pull/1582) - chore: update Vue to 3.2.37 by [@lmiller1990](https://togithub.com/lmiller1990) in [https://github.com/vuejs/test-utils/pull/1585](https://togithub.com/vuejs/test-utils/pull/1585) - chore(deps-dev): bump rollup from 2.75.5 to 2.75.6 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1586](https://togithub.com/vuejs/test-utils/pull/1586) - chore(deps-dev): bump babel-preset-jest from 28.0.2 to 28.1.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1588](https://togithub.com/vuejs/test-utils/pull/1588) - chore(deps-dev): bump lint-staged from 13.0.0 to 13.0.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1591](https://togithub.com/vuejs/test-utils/pull/1591) - chore(deps-dev): bump vue-router from 4.0.15 to 4.0.16 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1593](https://togithub.com/vuejs/test-utils/pull/1593) - chore(deps-dev): bump [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 5.27.1 to 5.28.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1598](https://togithub.com/vuejs/test-utils/pull/1598) - chore(deps-dev): bump [@types/node](https://togithub.com/types/node) from 17.0.40 to 17.0.42 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1594](https://togithub.com/vuejs/test-utils/pull/1594) - chore(deps-dev): bump [@babel/core](https://togithub.com/babel/core) from 7.18.2 to 7.18.5 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1596](https://togithub.com/vuejs/test-utils/pull/1596) - chore(deps-dev): bump [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 5.27.1 to 5.28.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1595](https://togithub.com/vuejs/test-utils/pull/1595) - chore(deps-dev): bump rollup-plugin-typescript2 from 0.32.0 to 0.32.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1587](https://togithub.com/vuejs/test-utils/pull/1587) - chore(deps-dev): bump prettier from 2.6.2 to 2.7.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/vuejs/test-utils/pull/1600](https://togithub.com/vuejs/test-utils/pull/1600)New Contributors
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.0.0...v2.0.1
v2.0.0
Compare Source
This is v2.0.0. The library is quite stable and there are not major bugs.
What's Changed
New Contributors
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.0.0-rc.21...v2.0.0
v1.3.3
Compare Source
v1.3.2
Compare Source
v1.3.1
Compare Source
Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,before 6am every weekday" in timezone Asia/Tokyo, 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.
This PR has been generated by Mend Renovate. View repository job log here.