Releases: testing-library/angular-testing-library
Releases · testing-library/angular-testing-library
v9.0.0-beta.1
9.0.0-beta.1 (2020-02-09)
Features
- add tab user-event (4b59d4f)
- remove angular attributes added to the container (35277f7)
- upgrade dom testing library (b1d0063)
- upgrade to angular 9 (0000d5b)
BREAKING CHANGES
- Angular adds the attributes ng-version and id to the container, these will be removed
This behavior can be disabled with the removeAngularAttributes property
await render(HelloComponent, {
removeAngularAttributes: false,
});
- This versions runs on Angular 9
v8.2.0
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
})