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
+1 -1
View File
@@ -15,7 +15,7 @@ describe('ol.rendering.layer.VectorTile', function() {
function createMap(renderer, opt_pixelRatio) {
map = new ol.Map({
pixelRatio: opt_pixelRatio,
pixelRatio: opt_pixelRatio || 1,
target: createMapDiv(50, 50),
renderer: renderer,
view: new ol.View({