@@ -17,7 +17,10 @@ import {HttpClientTestingModule} from '@angular/common/http/testing';
17
17
import { BehaviorSubject , Subject , of } from 'rxjs' ;
18
18
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap' ;
19
19
20
- import { HsAddDataVectorService } from 'hslayers-ng/shared/add-data' ;
20
+ import {
21
+ HsAddDataVectorService ,
22
+ HsAddDataVectorUtilsService ,
23
+ } from 'hslayers-ng/shared/add-data' ;
21
24
import { HsCommonEndpointsService } from 'hslayers-ng/shared/endpoints' ;
22
25
import { HsCommonLaymanService } from 'hslayers-ng/common/layman' ;
23
26
import { HsCompositionsCatalogueService } from 'hslayers-ng/components/compositions' ;
@@ -131,6 +134,7 @@ describe('compositions', () => {
131
134
const mockedUtilsService : any = new HsUtilsServiceMock ( ) ;
132
135
const mockedConfig = new HsConfigMock ( ) ;
133
136
const mockedMapService : any = new HsMapServiceMock ( ) ;
137
+ const mockedVectorUtilsService = new HsAddDataVectorUtilsService ( null ) ;
134
138
const mockedCommonLaymanService = new hsCommonLaymanServiceMock ( ) ;
135
139
const mockedStylerService = jasmine . createSpyObj ( 'HsStylerService' , [
136
140
'parseStyle' ,
@@ -192,6 +196,7 @@ describe('compositions', () => {
192
196
mockedMapService ,
193
197
mockedStylerService ,
194
198
mockedUtilsService ,
199
+ mockedVectorUtilsService ,
195
200
) ,
196
201
} ,
197
202
{
0 commit comments