Give the map some height for scale line tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user