Skip to content

Commit fdb2e6c

Browse files
补充fix UT
1 parent b2c790d commit fdb2e6c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

test/mapboxgl/overlay/HeatMapLayerSpec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ describe('mapboxgl_HeatMapLayer', () => {
7676
window.document.body.removeChild(testDiv);
7777
map.removeLayer("heatmap");
7878
map.removeLayer("heatmap_2");
79-
map.remove();
8079
});
8180

8281
it('initialize', () => {

test/mapboxgl/overlay/MapvLayerSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ describe('mapboxgl_MapVLayer', () => {
8181
});
8282
afterAll(() => {
8383
window.document.body.removeChild(testDiv);
84-
mapv.remove();
84+
map.remove();
8585
});
8686

8787
it('initialize', (done) => {

0 commit comments

Comments
 (0)