Skip to content

Commit

Permalink
Fix @turf/mask benchmarks to exclude test fixtures that are not usable (
Browse files Browse the repository at this point in the history
  • Loading branch information
mfedderly authored Aug 9, 2024
1 parent c470ea4 commit df7e42f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/turf-mask/bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ const isPolygonFeature = (

const __dirname = path.dirname(fileURLToPath(import.meta.url));

const SKIP = [];
// these test fixtures are not used for benchmarking because they contain a
// FeatureCollection with a single MultiPolygon, instead of a FeatureCollection
// with two Polygons, where the first one is the polygon and the second is the mask.
const SKIP = ["multi-polygon.geojson", "overlapping.geojson"];

const suite = new Benchmark.Suite("turf-mask");

Expand Down

0 comments on commit df7e42f

Please sign in to comment.