Releases: testing-library/angular-testing-library
Releases · testing-library/angular-testing-library
v4.0.2
05 May 15:48
Compare
Sorry, something went wrong.
No results found
4.0.2 (2019-05-05)
Bug Fixes
keep migrations folder structure (#7 ) (95a256f )
v4.0.1
05 May 15:35
Compare
Sorry, something went wrong.
No results found
4.0.1 (2019-05-05)
Bug Fixes
v4.0.0
05 May 15:15
Compare
Sorry, something went wrong.
No results found
4.0.0 (2019-05-05)
chore
update dom-testing-library (4a793b2 )
Code Refactoring
remove getFromTestBed (53409eb )
rename createComponent to render (3c2df01 )
Features
add migrations to fix breaking changes (32a552a )
add wrapper and queries render options (3b04682 )
allow to pass component properties with the template syntax (a6a6fda )
debug accepts an element to be pretty printed (d39b758 )
no need to pass the component as declaration with the component syntax (9cd8e91 )
BREAKING CHANGES
The parameters parameter has been renamed to componentProperties and has also been moved to RenderOptions.
To create a component via the component syntax, just pass it to the render function.
BEFORE:
const component = createComponent (
{
component : HomeComponent ,
parameters : { welcomeText : 'hello' }
} ,
{
declarations : [ HomeComponent ]
}
)
AFTER:
const component = render ( HomeComponent , { componentProperties : { welcomeText : 'hello' } , declarations : [ HomeComponent ] } )
See the changelog of dom-testing-library
The createComponent function has been renamed to render
The getFromTestBed function has been removed, use Angular's TestBed.get instead
v3.2.0
24 Mar 12:33
Compare
Sorry, something went wrong.
No results found
3.2.0 (2019-03-24)
Features
v3.1.0
14 Dec 19:08
Compare
Sorry, something went wrong.
No results found
3.1.0 (2018-12-14)
Features
re-export dom-testing-library (7738b26 )
v3.0.3
02 Nov 13:48
Compare
Sorry, something went wrong.
No results found
3.0.3 (2018-11-02)
Bug Fixes
move publishConfig to project package (47ad255 )
v2.0.0
20 Oct 16:00
Compare
Sorry, something went wrong.
No results found
2.0.0 (2018-10-20)
Features
BREAKING CHANGES
Requires Angular 7 instead of Angular 6
v1.1.0
29 Jul 08:51
Compare
Sorry, something went wrong.
No results found
1.1.0 (2018-07-29)
Features
remove ng-version from the container (bb42011 )
v1.0.0
28 Jul 13:35
Compare
Sorry, something went wrong.
No results found
1.0.0 (2018-07-28)
Bug Fixes
detectchanges on type component (306a453 )
Features
allow creation of component via its type (d9f292c )
expose fireEvent (b9d50c5 )
expose fireEvent functions via createComponent in order to run detectChanges (4a76cf4 )
remove getComponentInstance (b2b7a33 )
rename get to getFromTestBed (ad2430c )
upgrade to Angular 6.1 (e6e6c26 )