Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit afb4d3e

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

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: packages/schematics/angular/application/files/module-files/src/app/app__suffix__.spec.ts.template
+1-1Lines 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;
Collapse file

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

Copy file name to clipboardExpand all lines: packages/schematics/angular/application/files/standalone-files/src/app/app__suffix__.spec.ts.template
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.