Skip to content

Commit b0f1e33

Browse files
committed
fix: update CDK asset snapshot for cdk/bin/cdk.ts
1 parent 6c1f6da commit b0f1e33

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,13 @@ async function main() {
8484
const stackName = toStackName(spec.name, target.name);
8585
8686
// Extract credentials from deployed state for this target
87-
const targetState = (deployedState as Record<string, unknown>)?.targets as Record<string, Record<string, unknown>> | undefined;
87+
const targetState = (deployedState as Record<string, unknown>)?.targets as
88+
| Record<string, Record<string, unknown>>
89+
| undefined;
8890
const targetResources = targetState?.[target.name]?.resources as Record<string, unknown> | undefined;
89-
const credentials = targetResources?.credentials as Record<string, { credentialProviderArn: string; clientSecretArn?: string }> | undefined;
91+
const credentials = targetResources?.credentials as
92+
| Record<string, { credentialProviderArn: string; clientSecretArn?: string }>
93+
| undefined;
9094
9195
new AgentCoreStack(app, stackName, {
9296
spec,

0 commit comments

Comments
 (0)