We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a24a8a commit f89c670Copy full SHA for f89c670
test/maplibregl/overlay/L7LayerSpec.js
@@ -305,16 +305,16 @@ describe('maplibregl L7Layer', () => {
305
spyOn(l7Layer, 'show');
306
spyOn(l7Layer, 'hide');
307
spyOn(map.style, 'setLayoutProperty');
308
+ expect(layer.animateStatus).toBeTruthy();
309
310
map.setLayoutProperty(layer.id, 'visibility', 'hidden');
311
expect(l7Layer.hide).toHaveBeenCalled();
312
expect(map.style.setLayoutProperty).toHaveBeenCalled();
- expect(layer.animateStatus).toBeTruthy();
313
+ expect(layer.animateStatus).toBeFalsy();
314
315
map.setLayoutProperty(layer.id, 'visibility', 'visible');
316
expect(l7Layer.show).toHaveBeenCalled();
317
318
319
done();
320
});
0 commit comments