Skip to content

Commit 0f0dcef

Browse files
committed
Fixed Unit Test: added matChip in declaration of material module
1 parent af5ab7b commit 0f0dcef

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/app/component/circular-heatmap/circular-heatmap.component.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing';
33
import { ymlService } from 'src/app/service/yaml-parser/yaml-parser.service';
44
import { CircularHeatmapComponent } from './circular-heatmap.component';
55
import { RouterTestingModule } from '@angular/router/testing';
6+
import { MatChip } from '@angular/material/chips';
67

78
describe('CircularHeatmapComponent', () => {
89
let component: CircularHeatmapComponent;
@@ -15,6 +16,11 @@ describe('CircularHeatmapComponent', () => {
1516
declarations: [CircularHeatmapComponent],
1617
}).compileComponents();
1718
});
19+
beforeEach(async () => {
20+
TestBed.configureTestingModule({
21+
declarations: [MatChip],
22+
}).compileComponents();
23+
});
1824

1925
beforeEach(() => {
2026
fixture = TestBed.createComponent(CircularHeatmapComponent);

0 commit comments

Comments
 (0)