Releases: vuejs/test-utils
v2.0.0-beta.14
Features
feat(types): infer options in plugins #282 by @posva
feat: make jest debug in vscode available #284 by @HomyeeKing
Fixes
fix: render props in stubs #287 by @lmiller1990
v2.0.0-beta.13
v2.0.0-beta.12
This release adds support for the latest <script setup>
RFC. That's it. Read about it here: #264.
If you want to use it, you need Vue 3.0.3. You will also want the latest vue-jest
(5.0.0 alpha 7 at the time of this). Get it with yarn add vue-jest@next
. Note the latest RFC is here: vuejs/rfcs#227
Features
- Support latest
<script setup>
(#264) by @lmiller1990
v2.0.0-beta.11
v2.0.0-beta.10
Fixes
- Fix various bugs and support vue-class-component (tested with 8.0.0-beta.4).
v2.0.0-beta.9
Features
- Add esm browser build @zigomir
Fixes
- feat: default values for global.config @posva
- fix: findComponent with functional components @lmiller1990
v2.0.0-beta.8
Features
Fixes
- improve types and add type test @pikax
- wrap functional components in order to capture emitted events @lmiller1990
v2.0.0-beta.7
Small release. Mainly typing improvements/fixes, and some small bug fixes.
Once the open issues about functional components are fixed and docs completed (few sections outstanding) we will move to RC. Goal is to be 2.0.0 by the end of the year.
Fixes:
fix: set default event.cancelable from dom-event-types @aethr
fix: correctly capture DOM/Vue wrapper type @HerringtonDarkholme
fix: error handling in suspense @cexbrayat
refactor: do not pollute markup with useless id @lmiller1990
Types
Vue 3 is still young, and the types are evolving.
fix: support for DefineComponent shim @pikax
v2.0.0-beta.6
Features
- feat: isVisible @lmiller1990
- feat: stub transition and transition group @lmiller1990
- feat: allow opting out of stubbed transitions @lmiller1990
- feat: allow passing renderDefaultSlot to config mounting options @lmiller1990 (f1144a8)
- fix: allow finding route component
v2.0.0-beta.5
Features:
- feat(mount): add (deprecated) support for propsData @WebDevEtc. This is useful for migration purposes.
- bump to and make compatible with rc.12
Fixes
- fix: findComponent in Suspense for rc.11 @cexbrayat
- fix: trim slot when passed as a string (avoid weird SFC compiler error) @lmiller1990