@aws-cdk-testing/cli-integ
Version:
Integration tests for the AWS CDK CLI
18 lines (14 loc) • 468 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 no stacks with --ignore-no-stacks',
withDefaultFixture(async (fixture) => {
// empty array for stack names
await fixture.cdkDeploy([], {
options: ['--ignore-no-stacks'],
modEnv: {
INTEG_STACK_SET: 'stage-with-no-stacks',
},
});
}),
);