We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d05f1fd commit fc7bc94Copy full SHA for fc7bc94
1 file changed
packages/turf-line-offset/bench.ts
@@ -27,7 +27,7 @@ let fixtures = fs.readdirSync(directory).map((filename) => {
27
*/
28
const suite = new Benchmark.Suite("turf-line-offset");
29
for (const { name, geojson } of fixtures) {
30
- suite.add(name, () => lineOffset(geojson, 100, "meters"));
+ suite.add(name, () => lineOffset(geojson, 100, { units: "meters" }));
31
}
32
33
suite.on("cycle", (e) => console.log(String(e.target))).run();
0 commit comments