From 242cd3537464ea2885fd689997d12dbf8182d413 Mon Sep 17 00:00:00 2001 From: theburningmonk Date: Sat, 7 Sep 2019 02:27:12 +0200 Subject: [PATCH] test: removed duplicated test case --- .../aws/package/compile/functions/index.test.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/lib/plugins/aws/package/compile/functions/index.test.js b/lib/plugins/aws/package/compile/functions/index.test.js index 5cfebd516..bd5333593 100644 --- a/lib/plugins/aws/package/compile/functions/index.test.js +++ b/lib/plugins/aws/package/compile/functions/index.test.js @@ -2450,23 +2450,6 @@ describe('AwsCompileFunctions', () => { }); }); - it('should set Condition when specified', () => { - awsCompileFunctions.serverless.service.functions = { - func: { - handler: 'func.function.handler', - name: 'new-service-dev-func', - condition: 'IsE2eTest', - }, - }; - - return expect(awsCompileFunctions.compileFunctions()).to.be.fulfilled.then(() => { - expect( - awsCompileFunctions.serverless.service.provider.compiledCloudFormationTemplate.Resources - .FuncLambdaFunction.Condition - ).to.equal('IsE2eTest'); - }); - }); - it('should include DependsOn when specified', () => { awsCompileFunctions.serverless.service.functions = { func: {