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
@ -1618,20 +1618,20 @@ describe('Integration', () => {
|
||||
|
||||
router.navigateByUrl('/');
|
||||
advance(fixture);
|
||||
expect(fixture.nativeElement).toHaveText(' ');
|
||||
expect(fixture.nativeElement).toHaveText('');
|
||||
const cmp = fixture.componentInstance;
|
||||
|
||||
cmp.show = true;
|
||||
advance(fixture);
|
||||
|
||||
expect(fixture.nativeElement).toHaveText('link ');
|
||||
expect(fixture.nativeElement).toHaveText('link');
|
||||
const native = fixture.nativeElement.querySelector('a');
|
||||
|
||||
expect(native.getAttribute('href')).toEqual('/simple');
|
||||
native.click();
|
||||
advance(fixture);
|
||||
|
||||
expect(fixture.nativeElement).toHaveText('link simple');
|
||||
expect(fixture.nativeElement).toHaveText('linksimple');
|
||||
})));
|
||||
|
||||
it('should support query params and fragments',
|
||||
|
Reference in New Issue
Block a user