From 056fdc576abd8b64ac36b88dfa4e2a3fc5fad127 Mon Sep 17 00:00:00 2001 From: cexbrayat Date: Mon, 1 Oct 2018 19:20:19 +0200 Subject: [PATCH] chore: version 6.2.4 --- ponyracer/package.json | 2 +- ponyracer/src/app/app.component.spec.ts | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ponyracer/package.json b/ponyracer/package.json index a68ec4f5c..1988e61fc 100644 --- a/ponyracer/package.json +++ b/ponyracer/package.json @@ -26,7 +26,7 @@ }, "devDependencies": { "@angular-devkit/build-angular": "~0.8.0", - "@angular/cli": "~6.2.3", + "@angular/cli": "~6.2.4", "@angular/compiler-cli": "^6.1.0", "@angular/language-service": "^6.1.0", "@types/jasmine": "~2.8.8", diff --git a/ponyracer/src/app/app.component.spec.ts b/ponyracer/src/app/app.component.spec.ts index d3e633b58..b1f703584 100644 --- a/ponyracer/src/app/app.component.spec.ts +++ b/ponyracer/src/app/app.component.spec.ts @@ -1,5 +1,6 @@ import { TestBed, async } from '@angular/core/testing'; import { AppComponent } from './app.component'; + describe('AppComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ @@ -8,20 +9,23 @@ describe('AppComponent', () => { ], }).compileComponents(); })); - it('should create the app', async(() => { + + it('should create the app', () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.debugElement.componentInstance; expect(app).toBeTruthy(); - })); - it(`should have as title 'ponyracer'`, async(() => { + }); + + it(`should have as title 'ponyracer'`, () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.debugElement.componentInstance; expect(app.title).toEqual('ponyracer'); - })); - it('should render title in a h1 tag', async(() => { + }); + + it('should render title in a h1 tag', () => { const fixture = TestBed.createComponent(AppComponent); fixture.detectChanges(); const compiled = fixture.debugElement.nativeElement; expect(compiled.querySelector('h1').textContent).toContain('Welcome to ponyracer!'); - })); + }); });