test: removed duplicated test case

This commit is contained in:
theburningmonk 2019-09-07 02:27:12 +02:00
parent 43f383583a
commit 242cd35374

View File

@ -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: {