Skip to content

Commit f28cd7c

Browse files
alan-agius4hansl
authored andcommitted
style: improve formatting of spec file
1 parent a13d74c commit f28cd7c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/schematics/angular/application/other-files/app.component.spec.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { TestBed, async } from '@angular/core/testing';<% if (routing) { %>
22
import { RouterTestingModule } from '@angular/router/testing';<% } %>
33
import { AppComponent } from './app.component';
4+
45
describe('AppComponent', () => {
56
beforeEach(async(() => {
67
TestBed.configureTestingModule({<% if (routing) { %>
@@ -12,16 +13,19 @@ describe('AppComponent', () => {
1213
],
1314
}).compileComponents();
1415
}));
16+
1517
it('should create the app', async(() => {
1618
const fixture = TestBed.createComponent(AppComponent);
1719
const app = fixture.debugElement.componentInstance;
1820
expect(app).toBeTruthy();
1921
}));
22+
2023
it(`should have as title '<%= name %>'`, async(() => {
2124
const fixture = TestBed.createComponent(AppComponent);
2225
const app = fixture.debugElement.componentInstance;
2326
expect(app.title).toEqual('<%= name %>');
2427
}));
28+
2529
it('should render title in a h1 tag', async(() => {
2630
const fixture = TestBed.createComponent(AppComponent);
2731
fixture.detectChanges();

0 commit comments

Comments
 (0)