File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
plugins/arcgis/web-app/projects/showcase/src/app Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { Observable , of } from "rxjs" ;
2
2
import { Injectable } from '@angular/core'
3
- import { ArcServiceInterface } from "../../../main/src/lib/arc.service" ;
4
- import { EventResult } from '../../../main/src/lib/EventsResult' ;
3
+ import { ArcServiceInterface , FeatureLayer } from "../../../main/src/lib/arc.service" ;
5
4
import { ArcGISPluginConfig , defaultArcGISPluginConfig } from '../../../main/src/lib/ArcGISPluginConfig' ;
5
+ import { MageEvent } from "../../../main/src/lib/arc.service" ;
6
6
7
- export const mockArcGISEventResult = Object . freeze < EventResult > ( {
7
+ export const mockArcGISEventResult = Object . freeze < MageEvent > ( {
8
8
id : 0 ,
9
9
name : 'test event result name' ,
10
10
forms : [ {
@@ -20,6 +20,9 @@ export const mockArcGISEventResult = Object.freeze<EventResult>({
20
20
providedIn : 'root'
21
21
} )
22
22
export class MockArcService implements ArcServiceInterface {
23
+ fetchFeatureServiceLayers ( featureServiceUrl : string ) : Observable < FeatureLayer [ ] > {
24
+ throw new Error ( "Method not implemented." ) ;
25
+ }
23
26
fetchArcConfig ( ) : Observable < ArcGISPluginConfig > {
24
27
return of ( defaultArcGISPluginConfig )
25
28
}
You can’t perform that action at this time.
0 commit comments