diff --git a/packages/core/src/test/lambda/utils.test.ts b/packages/core/src/test/lambda/utils.test.ts index bc430a2e20d..975738edeba 100644 --- a/packages/core/src/test/lambda/utils.test.ts +++ b/packages/core/src/test/lambda/utils.test.ts @@ -13,7 +13,6 @@ import { setFunctionInfo, compareCodeSha, } from '../../lambda/utils' -import { LambdaFunction } from '../../lambda/commands/uploadLambda' import { DefaultLambdaClient } from '../../shared/clients/lambdaClient' import { fs } from '../../shared/fs/fs' import { tempDirPath } from '../../shared/filesystemUtilities' @@ -117,16 +116,6 @@ describe('lambda utils', function () { }) describe('setFunctionInfo', function () { - let mockLambda: LambdaFunction - - beforeEach(function () { - mockLambda = { - name: 'test-function', - region: 'us-east-1', - configuration: { FunctionName: 'test-function' }, - } - }) - afterEach(function () { sinon.restore() }) @@ -151,16 +140,6 @@ describe('lambda utils', function () { }) describe('compareCodeSha', function () { - let mockLambda: LambdaFunction - - beforeEach(function () { - mockLambda = { - name: 'test-function', - region: 'us-east-1', - configuration: { FunctionName: 'test-function' }, - } - }) - afterEach(function () { sinon.restore() })