Skip to content

Commit

Permalink
Update bucket-website-target.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
juanludlf authored Jan 18, 2024
1 parent 038939a commit be80d50
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ test('throws when certificate in region other than us-east-1 is supplied', () =>
}).toThrow(/The certificate must be in the us-east-1 region and the certificate you provided is in us-east-2./);
});

describe('Uses Certificate when @aws-cdk/aws-route53-patters:useCertificate=true', () => {
describe('Uses Certificate when @aws-cdk/aws-route53-patterns:useCertificate=true', () => {
test('explicit different region', () => {
// GIVEN
const app = new App({
Expand Down Expand Up @@ -292,6 +292,6 @@ describe('Uses Certificate when @aws-cdk/aws-route53-patters:useCertificate=true
}),
});

}).toThrow(/When @aws-cdk\/aws-route53-patters:useCertificate is enabled, a region must be defined on the Stack/);
}).toThrow(/When @aws-cdk\/aws-route53-patterns:useCertificate is enabled, a region must be defined on the Stack/);
});
});

0 comments on commit be80d50

Please sign in to comment.