Spaces:
Sleeping
Sleeping
| // import * as cdk from 'aws-cdk-lib'; | |
| // import { Template } from 'aws-cdk-lib/assertions'; | |
| // import * as Cdk from '../lib/cdk-stack'; | |
| // example test. To run these tests, uncomment this file along with the | |
| // example resource in lib/cdk-stack.ts | |
| test('SQS Queue Created', () => { | |
| // const app = new cdk.App(); | |
| // // WHEN | |
| // const stack = new Cdk.CdkStack(app, 'MyTestStack'); | |
| // // THEN | |
| // const template = Template.fromStack(stack); | |
| // template.hasResourceProperties('AWS::SQS::Queue', { | |
| // VisibilityTimeout: 300 | |
| // }); | |
| }); | |