@aws-cdk-testing/cli-integ
Version:
Integration tests for the AWS CDK CLI
15 lines (10 loc) • 458 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(
'Two ways of showing the version',
withDefaultFixture(async (fixture) => {
const version1 = await fixture.cdk(['version'], { verbose: false });
const version2 = await fixture.cdk(['--version'], { verbose: false });
expect(version1).toEqual(version2);
}),
);