File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/core/src/amazonqTest/chat/controller Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -717,9 +717,6 @@ export class TestController {
717717 await vscode . window . showTextDocument ( document )
718718 // TODO: send the message once again once build is enabled
719719 // this.messenger.sendMessage('Accepted', message.tabID, 'prompt')
720-
721- this . messenger . sendMessage ( 'Unit test generation completed' , message . tabID , 'answer' )
722-
723720 telemetry . ui_click . emit ( { elementId : 'unitTestGeneration_acceptDiff' } )
724721
725722 TelemetryHelper . instance . sendTestGenerationToolkitEvent (
@@ -841,10 +838,10 @@ export class TestController {
841838
842839 // TODO: Check if there are more cases to endSession if yes create a enum or type for step
843840 private async endSession ( data : any , step : FollowUpTypes ) {
841+ this . messenger . sendMessage ( 'Unit test generation completed.' , data . tabID , 'answer' )
842+
844843 const session = this . sessionStorage . getSession ( )
845844 if ( step === FollowUpTypes . RejectCode ) {
846- this . messenger . sendMessage ( 'Unit test generation completed.' , data . tabID , 'answer' )
847-
848845 TelemetryHelper . instance . sendTestGenerationToolkitEvent (
849846 session ,
850847 true ,
You can’t perform that action at this time.
0 commit comments