Skip to content

Commit ae59e82

Browse files
committed
[fix] 本地测试跑过,CI挂了
review by zhaoq
1 parent c5102dd commit ae59e82

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

test/maplibregl/overlay/symbol/MapExtendSymbolSpec.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import maplibregl from 'maplibre-gl';
22
import { FetchRequest } from '../../../../src/common/util/FetchRequest';
33

4-
describe('MapExtendSymbol', () => {
5-
var url = GlobeParameter.ChinaURL;
6-
var populationUrl = GlobeParameter.populationURL;
4+
describe('maplibregl_MapExtendSymbol', () => {
5+
// CI测试挂了
6+
// var url = GlobeParameter.ChinaURL;
7+
// var populationUrl = GlobeParameter.populationURL;
78
var testDiv, map;
89
var originalTimeout;
910
beforeAll((done) => {
@@ -21,7 +22,7 @@ describe('MapExtendSymbol', () => {
2122
style: {
2223
"version": 8,
2324
"sources": {
24-
"raster-tiles": {
25+
/* "raster-tiles": {
2526
"type": "raster",
2627
"tiles": [url + '/zxyTileImage.png?z={z}&x={x}&y={y}'],
2728
"tileSize": 256
@@ -31,15 +32,15 @@ describe('MapExtendSymbol', () => {
3132
populationUrl + "/tileFeature.mvt?z={z}&x={x}&y={y}"
3233
],
3334
"type": "vector"
34-
}
35+
} */
3536
},
36-
"layers": [{
37+
"layers": [/* {
3738
"id": "simple-tiles",
3839
"type": "raster",
3940
"source": "raster-tiles",
4041
"minzoom": 0,
4142
"maxzoom": 22
42-
}]
43+
} */]
4344
},
4445
center: [116.40, 39.79],
4546
zoom: 3

0 commit comments

Comments
 (0)