mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Geospatial maps: Swap out async() in tests
This commit is contained in:
@@ -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: [
|
||||||
|
Reference in New Issue
Block a user