Skip to content

Commit e6911e4

Browse files
committed
[fix] CI跑MapExtendSymbolSpec 不稳定
review by zhaoq
1 parent 003118f commit e6911e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/maplibregl/overlay/symbol/MapExtendSymbolSpec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('maplibregl_MapExtendSymbol', () => {
4343
});
4444
})
4545
}
46-
beforeAll(async () => {
46+
beforeAll(async (done) => {
4747
new maplibregl.supermap.WebSymbol().init();
4848
testDiv = document.createElement("div");
4949
testDiv.setAttribute("id", "map");
@@ -54,6 +54,7 @@ describe('maplibregl_MapExtendSymbol', () => {
5454
testDiv.style.height = "500px";
5555
document.body.appendChild(testDiv);
5656
map = await createMap();
57+
done();
5758
});
5859
beforeEach(() => {
5960
originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;

0 commit comments

Comments
 (0)