snyk
Version:
snyk library and cli utility
9 lines (8 loc) • 463 B
TypeScript
import { IaCTestOptions, TestReturnValue } from './iac-local-execution/types';
/**
* Shim around the new local execution test path and the legacy remote
* test flow. We also locally deal with the way the legacy test flow exposes
* the scanned files via the `options.iacDirFiles` object here so that
* in the new flow we do not mutate the options object.
*/
export declare function test(pathToScan: string, options: IaCTestOptions): Promise<TestReturnValue>;