Skip to content

Commit b7950e6

Browse files
committed
fix: fix unit tests
1 parent d1ea87a commit b7950e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/amazonq/test/unit/codewhisperer/service/securityIssueHoverProvider.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('securityIssueHoverProvider', () => {
2222
})
2323

2424
function buildCommandLink(command: string, args: any[], label: string, tooltip: string): string {
25-
return `[$(${command.includes('comment') ? 'comment' : 'error'}) ${label}](command:${command}?${encodeURIComponent(JSON.stringify(args))} '${tooltip}')`
25+
return `[$(${command.includes('ignore') ? 'error' : 'comment'}) ${label}](command:${command}?${encodeURIComponent(JSON.stringify(args))} '${tooltip}')`
2626
}
2727

2828
function buildExpectedContent(issue: any, fileName: string, description: string, severity?: string): string {

0 commit comments

Comments
 (0)