Skip to content

Commit afb4d3e

Browse files
cexbrayatalan-agius4
authored andcommitted
fix(@schematics/angular): remove extra space before async in spec templates
1 parent 3bfa1e9 commit afb4d3e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/schematics/angular/application/files/module-files/src/app/app__suffix__.spec.ts.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('App', () => {
2020
expect(app).toBeTruthy();
2121
});
2222

23-
it('should render title', <% if(zoneless) { %> async <% } %>() => {
23+
it('should render title', <% if(zoneless) { %>async <% } %>() => {
2424
const fixture = TestBed.createComponent(App);
2525
<%= zoneless ? 'await fixture.whenStable();' : 'fixture.detectChanges();' %>
2626
const compiled = fixture.nativeElement as HTMLElement;

packages/schematics/angular/application/files/standalone-files/src/app/app__suffix__.spec.ts.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('App', () => {
1414
expect(app).toBeTruthy();
1515
});
1616

17-
it('should render title', <% if(zoneless) { %> async <% } %>() => {
17+
it('should render title', <% if(zoneless) { %>async <% } %>() => {
1818
const fixture = TestBed.createComponent(App);
1919
<%= zoneless ? 'await fixture.whenStable();' : 'fixture.detectChanges();' %>
2020
const compiled = fixture.nativeElement as HTMLElement;

0 commit comments

Comments
 (0)