mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
First attempt to run tests with minimal preset config
This commit is contained in:
@@ -6,6 +6,20 @@ iD.debug = true;
|
||||
iD.data.imagery = [];
|
||||
for (var k in iD.services) { delete iD.services[k]; }
|
||||
|
||||
// run with a minimal set of presets for speed
|
||||
iD.data.presets = {
|
||||
presets: {
|
||||
area: { name: 'Area', tags: {}, geometry: ['area'] },
|
||||
line: { name: 'Line', tags: {}, geometry: ['line'] },
|
||||
point: { name: 'Point', tags: {}, geometry: ['point'] },
|
||||
vertex: { name: 'Vertex', tags: {}, geometry: ['vertex'] },
|
||||
relation: { name: 'Relation', tags: {}, geometry: ['relation'] },
|
||||
// for tests related to areaKeys:
|
||||
building: { name: 'Building', tags: { building: 'yes' }, geometry: ['area'] }
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
mocha.setup({
|
||||
ui: 'bdd',
|
||||
globals: [
|
||||
|
||||
Reference in New Issue
Block a user