Give the map some height for scale line tests

This commit is contained in:
Tim Schaub
2018-11-13 15:45:38 +01:00
parent b3903df156
commit f2cab1fcbb

View File

@@ -8,6 +8,7 @@ describe('ol.control.ScaleLine', function() {
let map;
beforeEach(function() {
const target = document.createElement('div');
target.style.height = '256px';
document.body.appendChild(target);
map = new Map({
target: target