add test case for 88746d5

This commit is contained in:
Joachim Schleicher 2023-10-19 21:08:57 +02:00
parent 88746d593c
commit 7d6830c7c6

View file

@ -231,6 +231,13 @@ describe('L.U.FeatureMixin', function () {
happen.click(qs('#map')) // Close popup
assert.notOk(qs('.umap-icon-active'))
})
it('should still highlight marker after hide() and show()', function () {
this.datalayer.hide()
this.datalayer.show()
happen.click(qs('div.leaflet-marker-icon'))
assert.ok(qs('.umap-icon-active'))
})
})
describe('#tooltip', function () {