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

@@ -41,6 +41,7 @@ describe('layer clipping', function() {
var map = null;
beforeEach(function() {
map = new ol.Map({
pixelRatio: 1,
target: createMapDiv(256, 256),
view: new ol.View({
center: [0, 0],