Geospatial maps: Swap out async() in tests

This commit is contained in:
Kim Shepherd
2025-03-13 13:32:52 +01:00
parent 6f6016a90d
commit 0c5c1e46b0

View File

@@ -1,6 +1,5 @@
import { NO_ERRORS_SCHEMA } from '@angular/core'; import { NO_ERRORS_SCHEMA } from '@angular/core';
import { import {
async,
ComponentFixture, ComponentFixture,
TestBed, TestBed,
waitForAsync, waitForAsync,
@@ -81,7 +80,7 @@ describe('BrowseByGeospatialDataComponent', () => {
let component: BrowseByGeospatialDataComponent; let component: BrowseByGeospatialDataComponent;
let fixture: ComponentFixture<BrowseByGeospatialDataComponent>; let fixture: ComponentFixture<BrowseByGeospatialDataComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
imports: [ TranslateModule.forRoot(), StoreModule.forRoot(), BrowseByGeospatialDataComponent], imports: [ TranslateModule.forRoot(), StoreModule.forRoot(), BrowseByGeospatialDataComponent],
providers: [ providers: [