Skip to content

Commit f0d0716

Browse files
committed
fix ut
1 parent fe819a8 commit f0d0716

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/mapboxgl/mapping/WebMapV3Spec.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -238,14 +238,6 @@ describe('mapboxgl-webmap3.0', () => {
238238
return Promise.resolve();
239239
});
240240
spyOn(mapboxgl, 'Map').and.callFake(mbglmap);
241-
var testDiv = window.document.createElement("div");
242-
testDiv.setAttribute("id", "map");
243-
testDiv.style.styleFloat = "left";
244-
testDiv.style.marginLeft = "8px";
245-
testDiv.style.marginTop = "50px";
246-
testDiv.style.width = "1000px";
247-
testDiv.style.height = "500px";
248-
window.document.body.appendChild(testDiv);
249241
const mapInfo = JSON.parse(mapstudioWebMap_symbol);
250242
const nextMapInfo = {
251243
...mapInfo,

0 commit comments

Comments
 (0)