Skip to content

Commit a9805d8

Browse files
committed
【fix】UT
1 parent c0a1953 commit a9805d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/openlayers/mapping/WebMapSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ describe('openlayers_WebMap', () => {
612612
expect(datavizWebmap.map.getLayers().getArray()[1].getProperties().name).toBe('京津地区土地利用现状图');
613613
expect(datavizWebmap.map.getLayers().getArray().length).toBe(2);
614614
done();
615-
}, 0)
615+
}, 1000)
616616
});
617617

618618
it('createThemeLayer_SUPERMAPREST_DATA', (done) => {
@@ -899,7 +899,7 @@ describe('openlayers_WebMap', () => {
899899
datavizWebmap.getWmtsInfo(layerInfo, successCallback);
900900
expect(datavizWebmap.isValidResponse).toHaveBeenCalled();
901901
done();
902-
}, 0)
902+
}, 1000)
903903
});
904904

905905
it('isValidResponse', (done) => {

test/openlayers/overlay/DataFlowSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ describe('ol_DataFlow', () => {
310310
service.unSubscribe();
311311
service.unBroadcast();
312312
done();
313-
}, 2000)
313+
}, 4000)
314314
} finally {
315315
if (timer) {
316316
window.clearInterval(timer);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy