Skip to content

Commit 0530a48

Browse files
[fix]UT
1 parent a9199e6 commit 0530a48

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

test/maplibregl/mapping/InitMapSpec.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,21 @@ describe('InitMap', () => {
139139
center: {
140140
x: 12124158.777882982,
141141
y: 2732247.310535573
142-
}
142+
},
143+
bounds: {
144+
top: 20037508.342789087,
145+
left: -20037508.342789248,
146+
bottom: -20037508.34278914,
147+
leftBottom: {
148+
x: -20037508.342789248,
149+
y: -20037508.34278914
150+
},
151+
right: 20037508.342789244,
152+
rightTop: {
153+
x: 20037508.342789244,
154+
y: 20037508.342789087
155+
}
156+
},
143157
};
144158
spyOn(FetchRequest, 'get').and.callFake(() => {
145159
return Promise.resolve(new Response(JSON.stringify(mapServiceInfo)));

0 commit comments

Comments
 (0)