Skip to content

Commit 3437272

Browse files
chore(cloudfront-origins): remove the unused variable from the unit test (#35753)
### Issue # (if applicable) None ### Reason for this change There is the unused `otherStack` variable in `functio-url-origin.test.ts`. ``` let otherStack: Stack; beforeEach(() => { otherStack = new Stack(): }); ``` ### Description of changes Remove `otherStack` definition ### Describe any new or updated permissions being added None ### Description of how you validated changes Existing unit test ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 3087ffa commit 3437272

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/aws-cdk-lib/aws-cloudfront-origins/test/function-url-origin.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ import { Duration, Stack } from '../../core';
66
import { FunctionUrlOrigin } from '../lib';
77

88
let stack: Stack;
9-
let otherStack: Stack;
109

1110
beforeEach(() => {
1211
stack = new Stack();
13-
otherStack = new Stack();
1412
});
1513

1614
test('Correctly renders the origin for a Lambda Function URL', () => {

0 commit comments

Comments
 (0)