Releases: testing-library/vue-testing-library
Releases · testing-library/vue-testing-library
v5.0.3
5.0.3 (2020-05-20)
- updates Vue Test Utils to v1 (out of beta!) (7a7c0fd)
- updates types (7a7c0fd)
@vue/[email protected]
now stubs transitions by default. After updating, some tests might fail because of this. The easiest solution is to disable stubbing for transitions for those tests:
test('should mount', () => {
const { ... } = render(ComponentWithTransitions, {
stubs: {
transition: false;
}
})
})
v5.0.2
v5.0.1
v5.0.0
5.0.0 (2020-03-13)
Features
- Update @testing-library/dom (#125) (c79a388)
- Update minor/patch versions for other libraries, such as @vue/test-utils.
BREAKING CHANGES
-
The latest version of DOM Testing Library has several breaking changes, so you will want to review its changelog to ensure you are unaffected.
-
This release drops support for Node 8. Upgrade to Node 10 or greater.
v4.2.0
v4.1.0
v4.0.0
4.0.0 (2019-10-09)
Features
BREAKING CHANGES
- baseElement is no longer tied to the document body, and container is no longer the parent node of the element wrapper, but a wrapper div.
These changes shouldn't affect you if you weren't relying on either baseElement
or container
.
v3.0.0
3.0.0 (2019-08-19)
Features
BREAKING CHANGES
- cleanup: If your tests were not isolated before (and you referenced the same component between tests) then this change will break your tests. You should keep your tests isolated, but if you're unable/unwilling to do that right away, then you can run your tests with the environment variable VTL_SKIP_AUTO_CLEANUP set to true.
v2.1.0
Support for functional components
#41 Added support for template-only functional SFC components