Difference between NativeElement and DebugElement in Angular2 test
What is the difference between native element and debugElement in Auglar2 test?
Short answer :-
DebugElement contains method / function to query or test an Angular2 component html elements
NativeElement is the html itself.
Have a look at the diagram below. The first is debug element while the last item is native element itself.
Comments