Skip to content

Commit 022067f

Browse files
kbrownomniKatherine Brown
andauthored
updated showcase to reflect recent changes (#226)
Co-authored-by: Katherine Brown <[email protected]>
1 parent 0ba8568 commit 022067f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

plugins/arcgis/web-app/projects/showcase/src/app/arc.service.mock.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Observable, of } from "rxjs";
22
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";
54
import { ArcGISPluginConfig, defaultArcGISPluginConfig } from '../../../main/src/lib/ArcGISPluginConfig';
5+
import { MageEvent } from "../../../main/src/lib/arc.service";
66

7-
export const mockArcGISEventResult = Object.freeze<EventResult>({
7+
export const mockArcGISEventResult = Object.freeze<MageEvent>({
88
id: 0,
99
name: 'test event result name',
1010
forms: [{
@@ -20,6 +20,9 @@ export const mockArcGISEventResult = Object.freeze<EventResult>({
2020
providedIn: 'root'
2121
})
2222
export class MockArcService implements ArcServiceInterface {
23+
fetchFeatureServiceLayers(featureServiceUrl: string): Observable<FeatureLayer[]> {
24+
throw new Error("Method not implemented.");
25+
}
2326
fetchArcConfig(): Observable<ArcGISPluginConfig> {
2427
return of(defaultArcGISPluginConfig)
2528
}

0 commit comments

Comments
 (0)