Skip to content

Releases: vuejs/test-utils

v2.0.0-beta.14

07 Jan 12:30
Compare
Choose a tag to compare

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

19 Dec 08:07
Compare
Choose a tag to compare

Fixes

ensure plugins receive options correctly #276 @lmiller1990
handle slots correctly #277

Types

fix mount infer prop type #274 @pikax
uncommented new prop tests and add defaultProps to all mount #274 @pikax

v2.0.0-beta.12

01 Dec 03:55
Compare
Choose a tag to compare

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

v2.0.0-beta.11

28 Nov 13:56
Compare
Choose a tag to compare

Features

Stub global components (#260) by @lmiller1990
Export MountingOptions interface (#252) by @afontcu

Fixes

Fix mount and shallowMount types (#254) by @pikax

v2.0.0-beta.10

17 Nov 09:47
Compare
Choose a tag to compare

Fixes

  • Fix various bugs and support vue-class-component (tested with 8.0.0-beta.4).

v2.0.0-beta.9

10 Nov 10:01
cf988ce
Compare
Choose a tag to compare

Features

Fixes

  • feat: default values for global.config @posva
  • fix: findComponent with functional components @lmiller1990

v2.0.0-beta.8

01 Nov 00:25
958b91b
Compare
Choose a tag to compare

Features

Fixes

  • improve types and add type test @pikax
  • wrap functional components in order to capture emitted events @lmiller1990

v2.0.0-beta.7

18 Oct 08:37
Compare
Choose a tag to compare

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

30 Sep 12:35
eec2d2d
Compare
Choose a tag to compare

Features

v2.0.0-beta.5

17 Sep 11:45
Compare
Choose a tag to compare

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