Skip to content

Commit 89c7455

Browse files
[fix]UT
1 parent b5210be commit 89c7455

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

test/mapboxgl/overlay/GraticuleLayerSpec.js

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -174,33 +174,6 @@ describe('mapboxgl_GraticuleLayer', () => {
174174
expect(points[0][1]).toEqual(80);
175175
});
176176

177-
xit('_setLayerTop add newlayer', () => {
178-
console.log('_setLayerTop add newlayer');
179-
try {
180-
map.addSource('queryDatas', {
181-
type: 'geojson',
182-
data: {
183-
type: 'FeatureCollection',
184-
features: [{ type: 'Feature', geometry: { type: 'Polygon', coordinates: [[[0, 0][(10, 5)], [-10, 5]]] } }]
185-
}
186-
});
187-
map.addLayer({
188-
id: 'queryDatas',
189-
type: 'fill',
190-
source: 'queryDatas',
191-
paint: {
192-
'fill-color': '#008080',
193-
'fill-opacity': 0.4
194-
},
195-
filter: ['==', '$type', 'Polygon']
196-
});
197-
expect(true).toBeTruthy();
198-
} catch (e) {
199-
expect(false).toBeTruthy();
200-
console.log(e);
201-
}
202-
});
203-
204177
it('onRemove', () => {
205178
graticuleLayer.onRemove();
206179
expect(graticuleLayer.renderer.canvas).toBeNull();

0 commit comments

Comments
 (0)