mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Fix spec
This commit is contained in:
@@ -16,7 +16,7 @@ describe("iD.svg.Midpoints", function () {
|
||||
extent = iD.geo.Extent([0, 0], [100, 100]);
|
||||
|
||||
// If no vertices are drawn, no midpoints are drawn. This dependence needs to be removed
|
||||
surface.call(iD.svg.Vertices(projection), graph, [a], filter, extent);
|
||||
surface.call(iD.svg.Vertices(projection), graph, [a], filter, extent, 16);
|
||||
surface.call(iD.svg.Midpoints(projection), graph, [line], filter, extent);
|
||||
|
||||
expect(surface.select('.midpoint').datum().loc).to.eql([25, 0]);
|
||||
|
||||
Reference in New Issue
Block a user