mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Lint ..
This commit is contained in:
parent
2b2e7b7def
commit
dfbc71834f
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user