Skip to content

Commit

Permalink
fix(test): fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Oct 31, 2023
1 parent 9de98fa commit 34c250a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ describe("ProfilHistoriqueCourriersComponent", () => {
ReactiveFormsModule,
NgbModule,
StoreModule.forRoot({ app: _usagerReducer }),

FormsModule,
HttpClientTestingModule,
RouterTestingModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { ComponentFixture, TestBed } from "@angular/core/testing";

import { ProfilHistoriqueDecisionsComponent } from "./profil-historique-decisions.component";
import { UsagerFormModel } from "../../../../usager-shared/interfaces";

describe("ProfilHistoriqueDecisionsComponent", () => {
let component: ProfilHistoriqueDecisionsComponent;
Expand All @@ -13,6 +14,7 @@ describe("ProfilHistoriqueDecisionsComponent", () => {

fixture = TestBed.createComponent(ProfilHistoriqueDecisionsComponent);
component = fixture.componentInstance;
component.usager = new UsagerFormModel();
fixture.detectChanges();
});

Expand Down

0 comments on commit 34c250a

Please sign in to comment.