mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 09:42:56 +00:00
* getVintage() becomes getMetadata() * ignore a couple unrelated lint nags * add source description, resolution and accuracy info to debug panel
24 lines
512 B
JavaScript
24 lines
512 B
JavaScript
/* globals chai:false */
|
|
|
|
iD.debug = true;
|
|
|
|
// disable things that use the network
|
|
iD.data.imagery = [];
|
|
_.forEach(iD.services, function(v,k) { 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;
|
|
// eslint-disable-next-line no-unused-vars
|
|
var d3 = iD.d3; |