@aws-cdk-testing/cli-integ
Version:
Integration tests for the AWS CDK CLI
10 lines (9 loc) • 620 B
TypeScript
import type { TestContext } from '../../lib/integ-test';
import type { AwsContext } from '../../lib/with-aws';
import type { DisableBootstrapContext } from '../../lib/with-cdk-app';
import type { PackageContext } from '../../lib/with-packages';
import type { TemporaryDirectoryContext } from '../../lib/with-temporary-directory';
/**
* The default prerequisites for tests running tool integrations
*/
export declare function withToolContext<A extends TestContext>(block: (context: A & TemporaryDirectoryContext & PackageContext & AwsContext & DisableBootstrapContext) => Promise<void>): (context: A) => Promise<void>;