FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

AI-GEN: 100% ARK-CODE-LATEST · SuperMap/iClient-JavaScript@7faa9a6 · GitHub

Commit 7faa9a6

Browse files
authored andcommitted
AI-GEN: 100% ARK-CODE-LATEST
fix: ut (reviewed by sym)
1 parent b6f3a44 commit 7faa9a6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/mapboxgl/mapping/WebMapV3Spec.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ describe('mapboxgl-webmap3.0', () => {
1818
var originalTimeout, testDiv;
1919
var id = 617580084;
2020
var mapstudioWebmap;
21-
const l7LayerUtil = L7LayerUtil({ featureFilter, expression, spec, L7Layer, L7 });
2221
const mockWebMapService = {
2322
handleUrlWithCredentials: jasmine.createSpy('handleUrlWithCredentials').and.returnValue(true)
2423
};
24+
const l7LayerUtil = L7LayerUtil({ featureFilter, expression, spec, L7Layer, L7, webMapService: mockWebMapService });
2525
const extendOptions = {
2626
MapManager: MapManagerUtil.default,
2727
mapRepo: mapboxgl,

‎test/maplibregl/mapping/WebMapV3Spec.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ describe('maplibregl-webmap3.0', () => {
1919
var server = 'http://localhost:8190/iportal/';
2020
var id = 617580084;
2121
var mapstudioWebmap;
22-
const l7LayerUtil = L7LayerUtil({ featureFilter, expression, spec, L7Layer, L7 });
2322
const mockWebMapService = {
2423
handleUrlWithCredentials: jasmine.createSpy('handleUrlWithCredentials').and.returnValue(true)
2524
};
25+
const l7LayerUtil = L7LayerUtil({ featureFilter, expression, spec, L7Layer, L7, webMapService: mockWebMapService });
2626
const extendOptions = {
2727
MapManager: MapManagerUtil.default,
2828
mapRepo: maplibregl,

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL