docs(testing): fix typo (#2524)
This commit is contained in:
parent
bf97a9a2e1
commit
ea45887927
@ -86,7 +86,7 @@ describe('DashboardHeroComponent when inside a test host', () => {
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
// create TestHosComponent instead of DashboardHeroComponent
|
// create TestHostComponent instead of DashboardHeroComponent
|
||||||
fixture = TestBed.createComponent(TestHostComponent);
|
fixture = TestBed.createComponent(TestHostComponent);
|
||||||
testHost = fixture.componentInstance;
|
testHost = fixture.componentInstance;
|
||||||
heroEl = fixture.debugElement.query(By.css('.hero')); // find hero
|
heroEl = fixture.debugElement.query(By.css('.hero')); // find hero
|
||||||
|
Loading…
x
Reference in New Issue
Block a user