mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-01 20:51:36 +02:00
Move text to single group with subgroups for halo,label,debug
This commit is contained in:
@@ -8,12 +8,11 @@ describe('iD.svgOsm', function () {
|
||||
it('creates default osm layers', function () {
|
||||
container.call(iD.svgOsm());
|
||||
var nodes = container.selectAll('.layer-osm').nodes();
|
||||
expect(nodes.length).to.eql(5);
|
||||
expect(nodes.length).to.eql(4);
|
||||
expect(d3.select(nodes[0]).classed('layer-areas')).to.be.true;
|
||||
expect(d3.select(nodes[1]).classed('layer-lines')).to.be.true;
|
||||
expect(d3.select(nodes[2]).classed('layer-hit')).to.be.true;
|
||||
expect(d3.select(nodes[3]).classed('layer-halo')).to.be.true;
|
||||
expect(d3.select(nodes[4]).classed('layer-label')).to.be.true;
|
||||
expect(d3.select(nodes[3]).classed('layer-labels')).to.be.true;
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user