diff --git a/test/spec/svg/areas.js b/test/spec/svg/areas.js index 178f42810..b0d95c59f 100644 --- a/test/spec/svg/areas.js +++ b/test/spec/svg/areas.js @@ -1,6 +1,6 @@ describe("iD.svg.Areas", function () { var surface, - projection = d3.geo.projection(function(x) { return x; }) + projection = d3.geo.projection(function(x, y) { return [x, y]; }) .clipExtent([[0, 0], [Infinity, Infinity]]), all = d3.functor(true), none = d3.functor(false); diff --git a/test/spec/svg/lines.js b/test/spec/svg/lines.js index 8f5e82dc5..21ba6981d 100644 --- a/test/spec/svg/lines.js +++ b/test/spec/svg/lines.js @@ -1,6 +1,6 @@ describe("iD.svg.Lines", function () { var surface, - projection = d3.geo.projection(function(x) { return x; }) + projection = d3.geo.projection(function(x, y) { return [x, y]; }) .clipExtent([[0, 0], [Infinity, Infinity]]), filter = d3.functor(true);