We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac9bb1a commit 9d9dabaCopy full SHA for 9d9daba
packages/aws-cdk-lib/aws-apigateway/test/lambda-api.test.ts
@@ -189,7 +189,7 @@ describe('lambda api', () => {
189
// THEN
190
const template = Template.fromStack(stack);
191
// Ensure that all methods have "AWS_PROXY" integrations.
192
- const methods = template.findResources('AWS::ApiGateway::Mathod');
+ const methods = template.findResources('AWS::ApiGateway::Method');
193
const hasProxyIntegration = Match.objectLike({ Integration: Match.objectLike({ Type: 'AWS_PROXY' }) });
194
for (const method of Object.values(methods)) {
195
expect(hasProxyIntegration.test(method)).toBeTruthy();
0 commit comments