File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
packages/core/src/test/lambda Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import {
1313 setFunctionInfo ,
1414 compareCodeSha ,
1515} from '../../lambda/utils'
16- import { LambdaFunction } from '../../lambda/commands/uploadLambda'
1716import { DefaultLambdaClient } from '../../shared/clients/lambdaClient'
1817import { fs } from '../../shared/fs/fs'
1918import { tempDirPath } from '../../shared/filesystemUtilities'
@@ -117,16 +116,6 @@ describe('lambda utils', function () {
117116 } )
118117
119118 describe ( 'setFunctionInfo' , function ( ) {
120- let mockLambda : LambdaFunction
121-
122- beforeEach ( function ( ) {
123- mockLambda = {
124- name : 'test-function' ,
125- region : 'us-east-1' ,
126- configuration : { FunctionName : 'test-function' } ,
127- }
128- } )
129-
130119 afterEach ( function ( ) {
131120 sinon . restore ( )
132121 } )
@@ -151,16 +140,6 @@ describe('lambda utils', function () {
151140 } )
152141
153142 describe ( 'compareCodeSha' , function ( ) {
154- let mockLambda : LambdaFunction
155-
156- beforeEach ( function ( ) {
157- mockLambda = {
158- name : 'test-function' ,
159- region : 'us-east-1' ,
160- configuration : { FunctionName : 'test-function' } ,
161- }
162- } )
163-
164143 afterEach ( function ( ) {
165144 sinon . restore ( )
166145 } )
You can’t perform that action at this time.
0 commit comments