diff --git a/src/app/file-browse/file-browse.component.spec.ts b/src/app/file-browse/file-browse.component.spec.ts index fa4b97f..54192f5 100644 --- a/src/app/file-browse/file-browse.component.spec.ts +++ b/src/app/file-browse/file-browse.component.spec.ts @@ -1,3 +1,4 @@ +import { HttpClientTestingModule } from '@angular/common/http/testing'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { FileBrowseComponent } from './file-browse.component'; @@ -8,6 +9,9 @@ describe('FileBrowseComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ + imports: [ + HttpClientTestingModule + ], declarations: [ FileBrowseComponent ] }) .compileComponents();