From 0c5c1e46b0d5d0866256a8188feb02932337395e Mon Sep 17 00:00:00 2001 From: Kim Shepherd Date: Thu, 13 Mar 2025 13:32:52 +0100 Subject: [PATCH] Geospatial maps: Swap out async() in tests --- .../browse-by-geospatial-data.component.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/browse-by/browse-by-geospatial-data/browse-by-geospatial-data.component.spec.ts b/src/app/browse-by/browse-by-geospatial-data/browse-by-geospatial-data.component.spec.ts index ad467085b6..e80b54c996 100644 --- a/src/app/browse-by/browse-by-geospatial-data/browse-by-geospatial-data.component.spec.ts +++ b/src/app/browse-by/browse-by-geospatial-data/browse-by-geospatial-data.component.spec.ts @@ -1,6 +1,5 @@ import { NO_ERRORS_SCHEMA } from '@angular/core'; import { - async, ComponentFixture, TestBed, waitForAsync, @@ -81,7 +80,7 @@ describe('BrowseByGeospatialDataComponent', () => { let component: BrowseByGeospatialDataComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ TranslateModule.forRoot(), StoreModule.forRoot(), BrowseByGeospatialDataComponent], providers: [