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