feat(core): set preserveWhitespaces to false by default (#22046)

Fixes #22027

PR Close #22046
This commit is contained in:
Oussama Ben Brahim
2018-02-06 00:37:05 +01:00
committed by Victor Berchet
parent d241532488
commit f1a063298e
13 changed files with 34 additions and 30 deletions

View File

@ -307,7 +307,7 @@ class CompWithUrlTemplate {
it('should allow to createSync components with templateUrl after explicit async compilation',
() => {
const fixture = TestBed.createComponent(CompWithUrlTemplate);
expect(fixture.nativeElement).toHaveText('from external template\n');
expect(fixture.nativeElement).toHaveText('from external template');
});
});