Releases: testing-library/vue-testing-library
Releases · testing-library/vue-testing-library
v5.5.0
v6.1.0
v5.4.1
v5.4.0
v5.3.1
v5.3.0
v5.2.0
v6.0.0
6.0.0 (2020-10-31)
tl;dr: Run npm install -D @testing-library/vue@next
to give this release which supports Vue 3 a go!
Features
BREAKING CHANGES
- Snapshots are potentially different due to whitespaces.
- Some options such as stubs are now moved to
global.stubs
. - Previous usage of vue instance as a parameter for the callback function is now replaced with global
config
options (for example,global.directives
). isUnmounted
is gone.updateProps
is now calledsetProps
to align with VTU.
Some of the missing steps is to provide support to Vue Router, and also to update libraries of the ecosystem to their Vue 3 version.
This is an exciting release! 🎉 It marks the first release aiming to support Vue 3 and Vue Test Utils 2. Please head to the PR to get more information, and feel free to open up issues and PRs to fix missing features / ports 😄