Commit f606b581 authored by Tifenn Guillas's avatar Tifenn Guillas
Browse files

Fix typo

parent 1f0cf60d
......@@ -19,17 +19,4 @@ describe('AppComponent', () => {
const app = fixture.componentInstance;
expect(app).toBeTruthy();
});
it(`should have as title 'client'`, () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.componentInstance;
expect(app.title).toEqual('client');
});
it('should render title', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.nativeElement as HTMLElement;
expect(compiled.querySelector('.content span')?.textContent).toContain('client app is running!');
});
});
......@@ -6,5 +6,7 @@
</li>
</ul>
<p>
<button class="btn btn-primary" type="button" [disabled]="newHeroAdded" (click)="addNewHero.emit()">Ajouter un nouveau héro</button>
<button class="btn btn-primary" type="button" [disabled]="newHeroAdded" (click)="addNewHero.emit()">
Ajouter un nouveau héro
</button>
</p>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment