diff --git a/lib/plugins/aws/package/compile/events/sns/index.test.js b/lib/plugins/aws/package/compile/events/sns/index.test.js index 204fde38a..6cb49c1d8 100644 --- a/lib/plugins/aws/package/compile/events/sns/index.test.js +++ b/lib/plugins/aws/package/compile/events/sns/index.test.js @@ -8,7 +8,6 @@ const Serverless = require('../../../../../../Serverless'); describe('AwsCompileSNSEvents', () => { let serverless; let awsCompileSNSEvents; - let awsPlugin; beforeEach(() => { serverless = new Serverless(); @@ -302,16 +301,14 @@ describe('AwsCompileSNSEvents', () => { ).to.equal('AWS::SNS::Subscription'); expect( awsCompileSNSEvents.serverless.service.provider.compiledCloudFormationTemplate.Resources - .FirstSnsSubscriptionFoo.Properties.Region + .FirstSnsSubscriptionFoo.Properties.Region ).to.equal('some-other-region'); expect( awsCompileSNSEvents.serverless.service.provider.compiledCloudFormationTemplate.Resources .FirstLambdaPermissionFooSNS.Type ).to.equal('AWS::Lambda::Permission'); - }); - it('should throw an error when the arn an object and the value is not a string', () => { awsCompileSNSEvents.serverless.service.functions = { first: {