Skip to content

Commit

Permalink
[Update]: improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yutaro-sakamoto committed Oct 5, 2024
1 parent b30d098 commit 2c324cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infrastructure/test/cobol4j-aws-web.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test("No NAT Gateway", () => {
});

test("Internet Gateway", () => {
template.resourcePropertiesCountIs("AWS::EC2::InternetGateway", {}, 1);
template.hasResource("AWS::EC2::InternetGateway", {});
template.resourcePropertiesCountIs(
"AWS::EC2::EgressOnlyInternetGateway",
{},
Expand All @@ -28,5 +28,5 @@ test("No ECR Repository", () => {
});

test("ECS Cluster", () => {
template.resourcePropertiesCountIs("AWS::ECS::Cluster", {}, 1);
template.hasResource("AWS::ECS::Cluster", {});
});

0 comments on commit 2c324cc

Please sign in to comment.