From 2df1bbd973506d9d15c9437eee03cc7607f06809 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Fri, 15 Nov 2024 09:08:45 -0700 Subject: [PATCH] add providers --- .../components/data/data.component.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/nshmp-apps/src/app/ncm/geophysical-profiles/components/data/data.component.spec.ts b/projects/nshmp-apps/src/app/ncm/geophysical-profiles/components/data/data.component.spec.ts index e9c6a08d3..9f7cfff45 100644 --- a/projects/nshmp-apps/src/app/ncm/geophysical-profiles/components/data/data.component.spec.ts +++ b/projects/nshmp-apps/src/app/ncm/geophysical-profiles/components/data/data.component.spec.ts @@ -1,4 +1,6 @@ +import {provideHttpClient} from '@angular/common/http'; import {ComponentFixture, TestBed} from '@angular/core/testing'; +import {provideNoopAnimations} from '@angular/platform-browser/animations'; import {DataComponent} from './data.component'; @@ -9,6 +11,7 @@ describe('DataComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ imports: [DataComponent], + providers: [provideHttpClient(), provideNoopAnimations()], }).compileComponents(); fixture = TestBed.createComponent(DataComponent); -- GitLab