@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
12 lines (10 loc) • 363 B
text/typescript
import handler, { validatePolygon } from "./validatePolygon.js";
import {
polygonSmokeTest,
getExampleFeatures,
} from "@seasketch/geoprocessing/scripts/testing";
const examples = await getExampleFeatures(); // Loads from examples/features directory
polygonSmokeTest(validatePolygon, handler.options.title, examples, {
timeout: 60_000,
debug: false,
});