UNPKG

@aws-cdk-testing/cli-integ

Version:

Integration tests for the AWS CDK CLI

14 lines (10 loc) 489 B
import { integTest, withDefaultFixture } from '../../lib'; jest.setTimeout(2 * 60 * 60_000); // Includes the time to acquire locks, worst-case single-threaded runtime integTest( 'cdk diff --security-only --fail exits when security diff for sso access control config', withDefaultFixture(async (fixture) => { await expect( fixture.cdk(['diff', '--security-only', '--fail', fixture.fullStackName('sso-access-control')]), ).rejects.toThrow('exited with error'); }), );