Skip to content

Commit

Permalink
test fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SEGRIA Marion committed Jun 12, 2024
1 parent 55fd44e commit 4abd48b
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 18 deletions.
36 changes: 24 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import { AppService } from './services/app.service';
export class AppComponent {
message = '';
name = '';
title = 'potits-chats';

constructor(private appService: AppService) {}

Expand Down
12 changes: 6 additions & 6 deletions src/app/components/footer/footer.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { HeaderComponent } from './footer.component';
import { FooterComponent } from './footer.component';

describe('HeaderComponent', () => {
let component: HeaderComponent;
let fixture: ComponentFixture<HeaderComponent>;
describe('FooterComponent', () => {
let component: FooterComponent;
let fixture: ComponentFixture<FooterComponent>;

beforeEach(() => {
TestBed.configureTestingModule({
declarations: [HeaderComponent]
declarations: [FooterComponent]
});
fixture = TestBed.createComponent(HeaderComponent);
fixture = TestBed.createComponent(FooterComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
Expand Down

0 comments on commit 4abd48b

Please sign in to comment.