Skip to content

Commit

Permalink
removed unneeded comments
Browse files Browse the repository at this point in the history
  • Loading branch information
comcalvi committed Apr 4, 2022
1 parent a69977b commit 1c581b3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/@aws-cdk/aws-lambda/test/singleton-lambda.test.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { Template } from '@aws-cdk/assertions';
//import * as ec2 from '@aws-cdk/aws-ec2';
import * as ec2 from '@aws-cdk/aws-ec2';
import * as iam from '@aws-cdk/aws-iam';
//import * as s3 from '@aws-cdk/aws-s3';
import * as s3 from '@aws-cdk/aws-s3';
import * as cdk from '@aws-cdk/core';
import * as lambda from '../lib';

describe('singleton lambda', () => {
/*
test('can add same singleton Lambda multiple times, only instantiated once in template', () => {
// GIVEN
const stack = new cdk.Stack();
Expand Down Expand Up @@ -161,7 +160,6 @@ describe('singleton lambda', () => {
});
});

*/
test('grantInvoke works correctly', () => {
// GIVEN
const stack = new cdk.Stack();
Expand Down Expand Up @@ -189,7 +187,6 @@ describe('singleton lambda', () => {
{ 'Fn::Join': ['', [{ 'Fn::GetAtt': ['SingletonLambda84c0de93353f42179b0b45b6c993251a840BCC38', 'Arn'] }, ':*']] },
]);
});
/*

test('check edge compatibility', () => {
// GIVEN
Expand Down Expand Up @@ -288,5 +285,4 @@ describe('singleton lambda', () => {
expect(singleton.isBoundToVpc).toBeTruthy();
expect(singleton.connections).toEqual(new ec2.Connections({ securityGroups: [securityGroup] }));
});
*/
});

0 comments on commit 1c581b3

Please sign in to comment.