Skip to content

Commit 12256f7

Browse files
authored
Merge pull request #6365 from chungjac/test-gen-completed-message
fix(amazonq): add message after accept/reject action
2 parents d862a21 + e5d4538 commit 12256f7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Amazon Q /test: Unit test generation completed message shows after accept/reject action"
4+
}

packages/core/src/amazonqTest/chat/controller/controller.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,8 @@ export class TestController {
838838

839839
// TODO: Check if there are more cases to endSession if yes create a enum or type for step
840840
private async endSession(data: any, step: FollowUpTypes) {
841+
this.messenger.sendMessage('Unit test generation completed.', data.tabID, 'answer')
842+
841843
const session = this.sessionStorage.getSession()
842844
if (step === FollowUpTypes.RejectCode) {
843845
TelemetryHelper.instance.sendTestGenerationToolkitEvent(

0 commit comments

Comments
 (0)