From dfbc71834f32ec46bafb1dedbedeca468f10b302 Mon Sep 17 00:00:00 2001 From: Simon Elder Date: Fri, 12 Jul 2019 11:43:28 +1000 Subject: [PATCH] Lint .. --- lib/plugins/aws/package/compile/events/sns/index.test.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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: {