refactor(tests): simplify code (#11485)
This commit is contained in:

committed by
Evan Martin

parent
f5d44a42c9
commit
5a4e46db20
@ -124,8 +124,7 @@ export function main() {
|
||||
TestBed.compileComponents().then(() => {
|
||||
let componentFixture = TestBed.createComponent(ExternalTemplateComp);
|
||||
componentFixture.detectChanges();
|
||||
expect(componentFixture.debugElement.nativeElement.textContent)
|
||||
.toEqual('from external template\n');
|
||||
expect(componentFixture.nativeElement.textContent).toEqual('from external template\n');
|
||||
});
|
||||
}),
|
||||
10000); // Long timeout here because this test makes an actual ResourceLoader request, and
|
||||
|
Reference in New Issue
Block a user