I'm writing an Angular2 test component and i've noticed this line in the tutorials:
de = fixture.debugElement.query(By.css('h1'));
de is defined as DebugElement type.
How can I get DebugElement by id?
That may seem extremely simple but I can't find any direction in the docs.