[OpenLayers-Users] Testing OpenLayers with jsdom
Momtchil Momtchev
momtchil at momtchev.com
Wed Feb 10 01:03:34 PST 2021
Hello,
Has anyone had any success testing OpenLayers with a /jsdom/-based
suite? The only thing that I need and cannot get to work is
/map.forEachFeatureAtPixel /since /jsdom/ does not do layout and the map
size is 0x0. Any ideas how I could force the map size? I want to avoid
going the karma/puppeeter route just for one function.
Thank you.
--
Momtchil Momtchev <momtchil at momtchev.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20210210/efaa562b/attachment.html>
More information about the Users
mailing list