mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
fix tests
This commit is contained in:
@@ -20,6 +20,7 @@ describe("iD.modes.AddPoint", function() {
|
||||
happen.mouseup(window, {});
|
||||
expect(context.changes().created).to.have.length(1);
|
||||
context.mode().exit();
|
||||
d3.select('window').on('click.draw-block', null);
|
||||
});
|
||||
|
||||
it("selects the node", function() {
|
||||
|
||||
@@ -8,7 +8,8 @@ mocha.setup({
|
||||
'__onmouseup.zoom',
|
||||
'__onkeydown.select',
|
||||
'__onkeyup.select',
|
||||
'__onclick.draw'
|
||||
'__onclick.draw',
|
||||
'__onclick.draw-block'
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user