18 lines
613 B
TypeScript
18 lines
613 B
TypeScript
/** Validate the expected fail-closed Linux fixture outcome. */
|
|
export function assertLinuxPackageProviderFailure(execution: {
|
|
readonly status: number | null;
|
|
readonly stdout: string;
|
|
}): void;
|
|
|
|
/** Run platform-specific packaged analysis checks. */
|
|
export function verifyPackagePlatform(input: {
|
|
readonly cli: string;
|
|
readonly environment: Readonly<Record<string, string | undefined>>;
|
|
readonly platform?: string;
|
|
readonly runCommand?: (
|
|
command: string,
|
|
arguments_: readonly string[],
|
|
environment: Readonly<Record<string, string | undefined>>,
|
|
) => Promise<string>;
|
|
}): Promise<void>;
|