You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(amazonq): remove "unsupported" message for other languages in /test #6935
## Problem
In /test feature, test generation in languages other than Java and
Python display message that they were not supported. Tests are generated
for all languages, so this message needs to be removed.
## Solution
Removed message to the user that /test only supports Python and Java
`<span style="color: #EE9D28;">⚠<b>I'm sorry, but /test only supports Python and Java</b><br></span> While ${language.charAt(0).toUpperCase()+language.slice(1)} is not supported, I will generate a suggestion below.`
146
-
)
147
-
})
148
-
})
149
-
150
115
describe('External file out of project',async()=>{
unsupportedMessage=`<span style="color: #EE9D28;">⚠<b>I can't generate tests for ${fileName}</b> because the file is outside of workspace scope.<br></span> I can still provide examples, instructions and code suggestions.`
555
-
}elseif(unsupportedLanguage){
556
-
unsupportedMessage=`<span style="color: #EE9D28;">⚠<b>I'm sorry, but /test only supports Python and Java</b><br></span> While ${unsupportedLanguage} is not supported, I will generate a suggestion below.`
557
-
}else{
558
-
unsupportedMessage=`<span style="color: #EE9D28;">⚠<b>I'm sorry, but /test only supports Python and Java</b><br></span> I will still generate a suggestion below.`
552
+
constunsupportedMessage=`<span style="color: #EE9D28;">⚠<b>I can't generate tests for ${fileName}</b> because the file is outside of workspace scope.<br></span> I can still provide examples, instructions and code suggestions.`
0 commit comments