Skip to content
Snippets Groups Projects
Commit b5f7d4de authored by paf's avatar paf
Browse files

fix broken unit test

parent cde0835d
No related branches found
No related tags found
No related merge requests found
Pipeline #18992 passed with warnings
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MatCardModule } from '@angular/material/card';
import { HttpClientModule } from '@angular/common/http';
import { WelcomeComponent } from './welcome.component';
describe('WelcomeComponent', () => {
......@@ -8,8 +9,13 @@ describe('WelcomeComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [WelcomeComponent],
imports: [MatCardModule]
declarations: [
WelcomeComponent
],
imports: [
MatCardModule,
HttpClientModule
]
})
.compileComponents();
}));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment