Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Dec 20, 2023
1 parent b6f111f commit 9b447a1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ComponentFixture, TestBed, waitForAsync } from "@angular/core/testing";
import { RouterTestingModule } from "@angular/router/testing";

import { StatsMapComponent } from "./stats-map.component";
import { DEFAULT_PUBLIC_STATS } from "../../../../../../_common/model/stats/DEFAULT_PUBLIC_STATS.const";
import { PublicStats } from "@domifa/common";

describe("StatsMapComponent", () => {
let component: StatsMapComponent;
Expand All @@ -25,7 +25,7 @@ describe("StatsMapComponent", () => {
beforeEach(() => {
fixture = TestBed.createComponent(StatsMapComponent);
component = fixture.componentInstance;
component.publicStats = DEFAULT_PUBLIC_STATS;
component.publicStats = new PublicStats();
component.statsRegionsValues = {};
component.selectedRegion = null;

Expand Down

0 comments on commit 9b447a1

Please sign in to comment.