@aws-cdk-testing/cli-integ
Version:
Integration tests for the AWS CDK CLI
13 lines (9 loc) • 389 B
text/typescript
import { integTest, withCliLibFixture } from '../../lib';
jest.setTimeout(2 * 60 * 60_000); // Includes the time to acquire locks, worst-case single-threaded runtime
integTest(
'cli-lib list',
withCliLibFixture(async (fixture) => {
const listing = await fixture.cdk(['list'], { captureStderr: false });
expect(listing).toContain(fixture.fullStackName('simple-1'));
}),
);