UNPKG

@aws-cdk-testing/cli-integ

Version:

Integration tests for the AWS CDK CLI

22 lines (16 loc) 721 B
import { integTest, withoutBootstrap } from '../../lib'; jest.setTimeout(2 * 60 * 60_000); // Includes the time to acquire locks, worst-case single-threaded runtime integTest('deploy old style synthesis to new style bootstrap', withoutBootstrap(async (fixture) => { const bootstrapStackName = fixture.bootstrapStackName; await fixture.cdkBootstrapModern({ toolkitStackName: bootstrapStackName, cfnExecutionPolicy: 'arn:aws:iam::aws:policy/AdministratorAccess', }); // Deploy stack that uses file assets await fixture.cdkDeploy('lambda', { options: [ '--context', `@aws-cdk/core:bootstrapQualifier=${fixture.qualifier}`, '--toolkit-stack-name', bootstrapStackName, ], }); }));