snyk
Version:
snyk library and cli utility
13 lines (12 loc) • 710 B
TypeScript
import { Options, PolicyOptions } from '../types';
import { TestCommandResult } from '../../cli/commands/types';
import { Ecosystem, ScanResult, TestResult } from './types';
type ScanResultsByPath = {
[dir: string]: ScanResult[];
};
export declare function testEcosystem(ecosystem: Ecosystem, paths: string[], options: Options & PolicyOptions): Promise<TestCommandResult>;
export declare function selectAndExecuteTestStrategy(ecosystem: Ecosystem, scanResultsByPath: {
[dir: string]: ScanResult[];
}, options: Options & PolicyOptions): Promise<[TestResult[], string[]]>;
export declare function formatUnmanagedResults(results: ScanResultsByPath, target: string): Promise<TestCommandResult>;
export {};