fix specs after messy merge
This commit is contained in:
parent
3618f404f5
commit
977fb99b6a
@ -464,7 +464,7 @@ describe("Map", function () {
|
||||
var spy = sinon.spy();
|
||||
map.on("move", spy);
|
||||
|
||||
container.style.width = (orig_width + 5) + "px";
|
||||
container.style.width = (origWidth + 5) + "px";
|
||||
map.invalidateSize();
|
||||
|
||||
expect(spy.called).to.be.ok();
|
||||
@ -474,7 +474,7 @@ describe("Map", function () {
|
||||
var spy = sinon.spy();
|
||||
map.on("moveend", spy);
|
||||
|
||||
container.style.width = (orig_width + 5) + "px";
|
||||
container.style.width = (origWidth + 5) + "px";
|
||||
map.invalidateSize();
|
||||
|
||||
expect(spy.called).to.be.ok();
|
||||
@ -484,7 +484,7 @@ describe("Map", function () {
|
||||
var spy = sinon.spy();
|
||||
map.on("moveend", spy);
|
||||
|
||||
container.style.width = (orig_width + 5) + "px";
|
||||
container.style.width = (origWidth + 5) + "px";
|
||||
map.invalidateSize({debounceMoveend: true});
|
||||
|
||||
expect(spy.called).not.to.be.ok();
|
||||
|
Loading…
Reference in New Issue
Block a user