Skip to content

Commit 60089c2

Browse files
authored
test(schema): AddDefaultAuthorizerToCorsPreflight #2701
1 parent ac1d813 commit 60089c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/integrationTest/schema/schema.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,8 @@ describe('Sam Schema Regression', function () {
5656
assertDefinition(samSchema, 'AWS::Serverless::Function.RequestModel')
5757
assertDefinition(samSchema, 'AWS::Serverless::Function.RequestParameter')
5858
})
59+
60+
it('has Property AddDefaultAuthorizerToCorsPreflight in AWS::Serverless::Api.Auth', function () {
61+
assertDefinitionProperty(samSchema, 'AWS::Serverless::Api.Auth', 'AddDefaultAuthorizerToCorsPreflight')
62+
})
5963
})

0 commit comments

Comments
 (0)