npm @vue/test-utils 2.0.0-rc.17
v2.0.0-rc.17

latest releases: 2.4.6, 2.4.5, 2.4.4...
2 years ago

There is one minor breaking change that may impact people using shallowMount with snaphots, see #1066.

Breaking

  • fix: [BREAKING] Use default name for components with setup script and nameless component (#1066)
  • [BREAKING] remove circular dep - DOMWrapper now requires the VueWrapper it is contained within as the second arg: #1093. This is to support finding a VueWrapper within a DOMWrapper using findComponent

Features

  • feat: add ability to stub teleport (#1087)

Fixes

  • fix(compat): handle listeners, class and style in legacy functional (#1080)
  • fix(mount): pass unknown options to $options on mount (#1079)
  • fix(findComponent): favor displayName over name when searching (#1078)
  • fix(find): Allow finding self from DOMWrapper (#1077)
  • fix: expose with render function (#1067)

Don't miss a new test-utils release

NewReleases is sending notifications on new releases.