@aws-cdk-testing/cli-integ
Version:
Integration tests for the AWS CDK CLI
16 lines (11 loc) • 572 B
text/typescript
import { integTest, withoutBootstrap } from '../../lib';
jest.setTimeout(2 * 60 * 60_000); // Includes the time to acquire locks, worst-case single-threaded runtime
integTest('can use the default permissions boundary to bootstrap', withoutBootstrap(async (fixture) => {
let template = await fixture.cdkBootstrapModern({
// toolkitStackName doesn't matter for this particular invocation
toolkitStackName: fixture.bootstrapStackName,
showTemplate: true,
examplePermissionsBoundary: true,
});
expect(template).toContain('PermissionsBoundary');
}));