Merge branch 'keep-right_QA'

This commit is contained in:
Bryan Housel
2019-01-04 21:37:19 -05:00
47 changed files with 2735 additions and 183 deletions
+9 -8
View File
@@ -26,17 +26,18 @@ describe('iD.svgLayers', function () {
it('creates default data layers', function () {
container.call(iD.svgLayers(projection, context));
var nodes = container.selectAll('svg .data-layer').nodes();
expect(nodes.length).to.eql(10);
expect(nodes.length).to.eql(11);
expect(d3.select(nodes[0]).classed('osm')).to.be.true;
expect(d3.select(nodes[1]).classed('notes')).to.be.true;
expect(d3.select(nodes[2]).classed('data')).to.be.true;
expect(d3.select(nodes[3]).classed('streetside')).to.be.true;
expect(d3.select(nodes[4]).classed('mapillary-images')).to.be.true;
expect(d3.select(nodes[5]).classed('mapillary-signs')).to.be.true;
expect(d3.select(nodes[6]).classed('openstreetcam-images')).to.be.true;
expect(d3.select(nodes[7]).classed('debug')).to.be.true;
expect(d3.select(nodes[8]).classed('geolocate')).to.be.true;
expect(d3.select(nodes[9]).classed('touch')).to.be.true;
expect(d3.select(nodes[3]).classed('keepRight')).to.be.true;
expect(d3.select(nodes[4]).classed('streetside')).to.be.true;
expect(d3.select(nodes[5]).classed('mapillary-images')).to.be.true;
expect(d3.select(nodes[6]).classed('mapillary-signs')).to.be.true;
expect(d3.select(nodes[7]).classed('openstreetcam-images')).to.be.true;
expect(d3.select(nodes[8]).classed('debug')).to.be.true;
expect(d3.select(nodes[9]).classed('geolocate')).to.be.true;
expect(d3.select(nodes[10]).classed('touch')).to.be.true;
});
});