Use specific pixelRatio so tests run on all devices

This commit is contained in:
Andreas Hocevar
2017-08-16 22:38:33 -04:00
parent b710c1f76e
commit 55be9b8d3c
11 changed files with 50 additions and 15 deletions

View File

@@ -30,6 +30,7 @@ describe('ol.rendering.style.Icon', function() {
});
map = new ol.Map({
pixelRatio: 1,
target: createMapDiv(width ? width : 50, height ? height : 50),
renderer: renderer,
layers: [vectorLayer],