Releases: testing-library/angular-testing-library
Releases · testing-library/angular-testing-library
v8.1.0
v8.0.4
v8.0.3
v8.0.2
v8.0.1
v8.0.0
8.0.0 (2019-09-18)
Features
BREAKING CHANGES
-
- It isn't possible to define your component as a component template anymore, it's obligated now to use the component's class.
BEFORE:
const component = render(`<person-details></person-details>`)
AFTER:
const component = render(PersonDetails)
- It isn't possible anymore to define a wrapper while testing a component, it's only possible to do this while testing a directive.
const component = render(PersonDetails, {
wrapper: PersonWrapper
})