Skip to content

Commit bcdb60e

Browse files
committed
more logs
1 parent a5fe646 commit bcdb60e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

packages/amazonq/test/e2e/amazonq/review.test.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@ import { ScanAction, scanProgressMessage } from '../../../src/app/amazonqScan/mo
2424
import { CodeScanIssue } from 'aws-core-vscode/codewhisperer'
2525
import { SecurityIssueProvider } from 'aws-core-vscode/codewhisperer'
2626

27-
/**
28-
* Generic polling function that waits for a condition to be met
29-
* @param conditionFn Function that returns the result when condition is met, or undefined when not met
30-
* @param timeoutMs Maximum time to wait in milliseconds
31-
* @param intervalMs Polling interval in milliseconds
32-
* @returns The result from the condition function or undefined if timeout occurs
33-
*/
3427
async function pollForResult<T>(
3528
conditionFn: () => T | undefined,
3629
timeoutMs: number = 60000,
@@ -289,7 +282,7 @@ describe('Amazon Q Code Review', function () {
289282
const foundIssue = SecurityIssueProvider.instance.issues
290283
.flatMap(({ issues }) => issues)
291284
.find((i) => i.findingId === issue.findingId)
292-
285+
console.log('original issue', issue.fixJobId, issue.suggestedFixes)
293286
console.log('issue', foundIssue?.fixJobId, foundIssue?.suggestedFixes)
294287

295288
return foundIssue?.suggestedFixes?.length !== undefined &&

0 commit comments

Comments
 (0)