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 {
717
717
await vscode . window . showTextDocument ( document )
718
718
// TODO: send the message once again once build is enabled
719
719
// this.messenger.sendMessage('Accepted', message.tabID, 'prompt')
720
-
721
- this . messenger . sendMessage ( 'Unit test generation completed' , message . tabID , 'answer' )
722
-
723
720
telemetry . ui_click . emit ( { elementId : 'unitTestGeneration_acceptDiff' } )
724
721
725
722
TelemetryHelper . instance . sendTestGenerationToolkitEvent (
@@ -841,10 +838,10 @@ export class TestController {
841
838
842
839
// TODO: Check if there are more cases to endSession if yes create a enum or type for step
843
840
private async endSession ( data : any , step : FollowUpTypes ) {
841
+ this . messenger . sendMessage ( 'Unit test generation completed.' , data . tabID , 'answer' )
842
+
844
843
const session = this . sessionStorage . getSession ( )
845
844
if ( step === FollowUpTypes . RejectCode ) {
846
- this . messenger . sendMessage ( 'Unit test generation completed.' , data . tabID , 'answer' )
847
-
848
845
TelemetryHelper . instance . sendTestGenerationToolkitEvent (
849
846
session ,
850
847
true ,
You can’t perform that action at this time.
0 commit comments