Skip to content

Commit 6b2ff84

Browse files
committed
[update] 尝试将beforAll中的setTimeout去掉,看看CItest执行情况
review by zhaoq
1 parent 43ecc38 commit 6b2ff84

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/maplibregl/overlay/symbol/MapExtendSymbolSpec.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('maplibregl_MapExtendSymbol', () => {
77
// var populationUrl = GlobeParameter.populationURL;
88
var testDiv, map;
99
var originalTimeout;
10-
beforeAll((done) => {
10+
beforeAll(() => {
1111
new maplibregl.supermap.WebSymbol().init();
1212
testDiv = document.createElement("div");
1313
testDiv.setAttribute("id", "map");
@@ -45,9 +45,6 @@ describe('maplibregl_MapExtendSymbol', () => {
4545
center: [116.40, 39.79],
4646
zoom: 3
4747
});
48-
setTimeout(() => {
49-
done();
50-
}, 0);
5148
});
5249
beforeEach(() => {
5350
originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;

0 commit comments

Comments
 (0)