@aws-cdk-testing/cli-integ
Version:
Integration tests for the AWS CDK CLI
14 lines (13 loc) • 453 B
TypeScript
import type { ChildProcess } from 'node:child_process';
/**
* Wait for a specific string to appear in the output.
*/
export declare function waitForOutput(getOutput: () => string, searchString: string): Promise<void>;
/**
* Wait for a condition to become true.
*/
export declare function waitForCondition(condition: () => boolean): Promise<void>;
/**
* Kill a spawned process.
*/
export declare function safeKillProcess(proc: ChildProcess): void;