Skip to content

Commit c79b239

Browse files
author
Dave Syer
committed
Fix JavaScript linter hints
1 parent a935023 commit c79b239

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/client/src/app/app.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { TestBed, async } from '@angular/core/testing';
22
import { AppComponent } from './app.component';
3-
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'
3+
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
44
describe('AppComponent', () => {
55
beforeEach(async(() => {
66
TestBed.configureTestingModule({
@@ -30,7 +30,7 @@ describe('AppComponent', () => {
3030
const http = TestBed.get(HttpTestingController);
3131
const fixture = TestBed.createComponent(AppComponent);
3232
const app = fixture.debugElement.componentInstance;
33-
http.expectOne('resource').flush({id:'XYZ',content:'Hello'});
33+
http.expectOne('resource').flush({id: 'XYZ', content: 'Hello'});
3434
expect(app.data.content).toContain('Hello');
3535
}));
3636
});

0 commit comments

Comments
 (0)