@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
13 lines (12 loc) • 540 B
TypeScript
import { Feature } from "geojson";
/**
* Runs smoke test for a preprocessor function taking polygon input
* Runs preprocessor function for all example polygon sketches
*/
export declare const polygonPreprocessorSmokeTest: (preprocessorFunc: (feature: Feature) => Promise<Feature>, preprocessorName: string, options?: {
/** Partial name of example polygon sketch to load */
partialName?: string | undefined;
/** timeout for test run in milliseconds, defaults to 10000 */
timeout?: number;
debug?: boolean;
}) => void;