File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/amazonq/test/unit/amazonq/apps/inline Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -452,11 +452,11 @@ describe('InlineCompletionManager', () => {
452452 const completionSessionResult = call . args [ 1 ] . completionSessionResult
453453 const sessionResults = Object . values ( completionSessionResult ) as any [ ]
454454 assert . strictEqual ( sessionResults . length , 2 ) // Both mockSuggestions should be included
455- sessionResults . forEach ( ( result ) => {
455+ for ( const result of sessionResults ) {
456456 assert . strictEqual ( result . seen , false )
457457 assert . strictEqual ( result . accepted , false )
458458 assert . strictEqual ( result . discarded , true )
459- } )
459+ }
460460 } )
461461
462462 it ( 'should only emit telemetry for non-inline-edit items when edit is active' , async ( ) => {
You can’t perform that action at this time.
0 commit comments