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