geojson-path-finder
Advanced tools
Comparing version 2.0.2-4 to 2.0.2
{ | ||
"name": "geojson-path-finder", | ||
"version": "2.0.2-4", | ||
"version": "2.0.2", | ||
"description": "Find shortest path through a network of GeoJSON", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:perliedman/geojson-path-finder.git", |
import largeNetwork from "./large-network.json"; | ||
import preprocess from "../src/preprocessor"; | ||
import { test } from "vitest"; | ||
import { expect, test } from "vitest"; | ||
import osmWeight from "./osm-weight"; | ||
import twoIslands from "./two-islands.json"; | ||
import createTopology from "../src/topology"; | ||
@@ -24,1 +26,6 @@ test("preprocesses a large network", () => { | ||
}); | ||
test("compacts islands correctly", () => { | ||
const graph = preprocess(twoIslands); | ||
expect(Object.keys(graph.compactedVertices).length).toEqual(2); | ||
}); |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
16427918
84
9757
0