Skip to content

Commit d66b089

Browse files
author
Sai Ray
committed
test: update test expectation for enhanced nested stack error message
1 parent 4ff8d8c commit d66b089

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/amplify-cli/src/__tests__/commands/gen2-migration/_validations.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,8 @@ describe('AmplifyGen2MigrationValidations', () => {
361361

362362
await expect(validations.validateStatefulResources(changeSet)).rejects.toMatchObject({
363363
name: 'DestructiveMigrationError',
364-
message: 'Stateful resources scheduled for deletion: AuthStack (AWS::CloudFormation::Stack).',
364+
message:
365+
'Stateful resources scheduled for deletion: AuthStack (AWS::CloudFormation::Stack) containing: Table (AWS::DynamoDB::Table).',
365366
});
366367
});
367368

0 commit comments

Comments
 (0)