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;
|
let map;
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
const target = document.createElement('div');
|
const target = document.createElement('div');
|
||||||
|
target.style.height = '256px';
|
||||||
document.body.appendChild(target);
|
document.body.appendChild(target);
|
||||||
map = new Map({
|
map = new Map({
|
||||||
target: target
|
target: target
|
||||||
|
|||||||
Reference in New Issue
Block a user