Skip to content

Commit

Permalink
fix: test format
Browse files Browse the repository at this point in the history
  • Loading branch information
mazyu36 committed May 30, 2024
1 parent 28aeef4 commit 86a1f83
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/@aws-cdk/aws-apprunner-alpha/test/service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1587,14 +1587,14 @@ test('create a service with a customer managed key)', () => {
const app = new cdk.App();
const stack = new cdk.Stack(app, 'demo-stack');
const key = new kms.Key(stack, 'Key');

// WHEN
new apprunner.Service(stack, 'DemoService', {
source: apprunner.Source.fromEcrPublic({
imageConfiguration: { port: 8000 },
imageIdentifier: 'public.ecr.aws/aws-containers/hello-app-runner:latest',
}),
kmsKey: key,
kmsKey: key,
});

// THEN
Expand All @@ -1604,7 +1604,6 @@ test('create a service with a customer managed key)', () => {
KmsKey: stack.resolve(key.keyArn),
},
});
});

test.each([apprunner.IpAddressType.IPV4, apprunner.IpAddressType.DUAL_STACK])('ipAddressType is set %s', (ipAddressType: apprunner.IpAddressType) => {
// GIVEN
Expand Down

0 comments on commit 86a1f83

Please sign in to comment.