@aws-cdk-testing/cli-integ
Version:
Integration tests for the AWS CDK CLI
21 lines (20 loc) • 770 B
TypeScript
import type { IRunnerSource, ITestCliSource, IPreparedRunnerSource } from './source';
/**
* Repo source for the CLI
*
* Just puts the repo path on the $PATH. The CLI should already be compiled to be executable
*/
export declare class RunnerCliRepoSource implements IRunnerSource<ITestCliSource> {
private readonly packageName;
readonly repoRoot: string;
readonly sourceDescription: string;
private readonly cliBinPath;
constructor(packageName: string, repoRoot: string);
runnerPrepare(): Promise<IPreparedRunnerSource<ITestCliSource>>;
}
export declare class TestCliRepoSource implements ITestCliSource {
private readonly cliPath;
constructor(cliPath: string);
makeCliAvailable(): Promise<void>;
requestedVersion(): string;
}