Skip to content

Commit

Permalink
Fix JavaScript linter hints
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyer committed Nov 12, 2017
1 parent a935023 commit c79b239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/client/src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TestBed, async } from '@angular/core/testing';
import { AppComponent } from './app.component';
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
Expand Down Expand Up @@ -30,7 +30,7 @@ describe('AppComponent', () => {
const http = TestBed.get(HttpTestingController);
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
http.expectOne('resource').flush({id:'XYZ',content:'Hello'});
http.expectOne('resource').flush({id: 'XYZ', content: 'Hello'});
expect(app.data.content).toContain('Hello');
}));
});

0 comments on commit c79b239

Please sign in to comment.