@aws-cdk-testing/cli-integ
Version:
Integration tests for the AWS CDK CLI
16 lines (11 loc) • 501 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(
'automatic ordering',
withDefaultFixture(async (fixture) => {
// Deploy the consuming stack which will include the producing stack
await fixture.cdkDeploy('order-consuming');
// Destroy the providing stack which will include the consuming stack
await fixture.cdkDestroy('order-providing');
}),
);