mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Remove obsolete tests
This commit is contained in:
@@ -40,19 +40,6 @@ describe("iD.svg.Areas", function () {
|
||||
expect(surface.select('.area')).to.be.classed('tag-building-yes');
|
||||
});
|
||||
|
||||
// it("preserves non-area paths", function () {
|
||||
// var area = iD.Way({tags: {area: 'yes'}}),
|
||||
// graph = iD.Graph([area]);
|
||||
|
||||
// surface.select('.area-fill')
|
||||
// .append('path')
|
||||
// .attr('class', 'other');
|
||||
|
||||
// surface.call(iD.svg.Areas(projection), graph, [area], none);
|
||||
|
||||
// expect(surface.selectAll('.other')[0].length).to.equal(1);
|
||||
// });
|
||||
|
||||
it("handles deletion of a way and a member vertex (#1903)", function () {
|
||||
var graph = iD.Graph([
|
||||
iD.Node({id: 'a', loc: [0, 0]}),
|
||||
|
||||
@@ -73,19 +73,6 @@ describe("iD.svg.Lines", function () {
|
||||
expect(surface.select('.stroke')).to.be.classed('tag-natural-wood');
|
||||
});
|
||||
|
||||
// it("preserves non-line paths", function () {
|
||||
// var line = iD.Way(),
|
||||
// graph = iD.Graph([line]);
|
||||
|
||||
// surface.select('.area-fill')
|
||||
// .append('path')
|
||||
// .attr('class', 'other');
|
||||
|
||||
// surface.call(iD.svg.Lines(projection), graph, [line], all);
|
||||
|
||||
// expect(surface.selectAll('.other')[0].length).to.equal(1);
|
||||
// });
|
||||
|
||||
describe("z-indexing", function() {
|
||||
var graph = iD.Graph([
|
||||
iD.Node({id: 'a', loc: [0, 0]}),
|
||||
|
||||
Reference in New Issue
Block a user