@aws-cdk-testing/cli-integ
Version:
Integration tests for the AWS CDK CLI
15 lines (10 loc) • 456 B
text/typescript
import { integTest, withDefaultFixture } from '../../lib';
jest.setTimeout(2 * 60 * 60_000); // Includes the time to acquire locks, worst-case single-threaded runtime
integTest(
'deploy all',
withDefaultFixture(async (fixture) => {
const arns = await fixture.cdkDeploy('test-*', { captureStderr: false });
// verify that we only deployed both stacks (there are 2 ARNs in the output)
expect(arns.split('\n').length).toEqual(2);
}),
);