mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-25 01:24:05 +02:00
Inject history dependency in map
This commit is contained in:
@@ -66,6 +66,11 @@ describe('Map', function() {
|
||||
|
||||
beforeEach(function () {
|
||||
spy = sinon.spy();
|
||||
map.history({
|
||||
perform: function () {},
|
||||
undo: function () {},
|
||||
redo: function () {}
|
||||
});
|
||||
map.on('update', spy);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user