Give the map some height for scale line tests

This commit is contained in:
Tim Schaub committed 2018-11-16 14:56:47 +01:00
1 parent b3903df156
commit f2cab1fcbb
1 file changed
+1
+1
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