feat(core): set preserveWhitespaces to false by default (#22046)
Fixes #22027 PR Close #22046
This commit is contained in:

committed by
Victor Berchet

parent
d241532488
commit
f1a063298e
@ -123,7 +123,7 @@ class BadTemplateUrl {
|
||||
TestBed.compileComponents().then(() => {
|
||||
const componentFixture = TestBed.createComponent(ExternalTemplateComp);
|
||||
componentFixture.detectChanges();
|
||||
expect(componentFixture.nativeElement.textContent).toEqual('from external template\n');
|
||||
expect(componentFixture.nativeElement.textContent).toEqual('from external template');
|
||||
});
|
||||
}),
|
||||
10000); // Long timeout here because this test makes an actual ResourceLoader request, and
|
||||
|
Reference in New Issue
Block a user