mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-11 13:46:10 +00:00
25 lines
480 B
JavaScript
25 lines
480 B
JavaScript
/* globals chai:false */
|
|
|
|
iD.debug = true;
|
|
|
|
// disable things that use the network
|
|
iD.data.imagery = [];
|
|
for (var k in iD.services) { delete iD.services[k]; }
|
|
|
|
mocha.setup({
|
|
ui: 'bdd',
|
|
globals: [
|
|
'__onresize.tail-size',
|
|
'__onmousemove.zoom',
|
|
'__onmouseup.zoom',
|
|
'__onkeydown.select',
|
|
'__onkeyup.select',
|
|
'__onclick.draw',
|
|
'__onclick.draw-block'
|
|
]
|
|
});
|
|
|
|
expect = chai.expect;
|
|
|
|
window.d3 = iD.d3; // TODO: remove
|