1
- import { describe , expect , it , spyOn , beforeEach , afterEach , mock } from 'bun:test'
1
+ import {
2
+ describe ,
3
+ expect ,
4
+ it ,
5
+ spyOn ,
6
+ beforeEach ,
7
+ afterEach ,
8
+ mock ,
9
+ } from 'bun:test'
2
10
import { applyPatch } from 'diff'
3
11
4
12
// Mock the benchify module to simulate missing API key
@@ -8,7 +16,7 @@ mock.module('benchify', () => ({
8
16
runFixer ( ) {
9
17
return Promise . resolve ( [ ] )
10
18
}
11
- }
19
+ } ,
12
20
} ) )
13
21
14
22
import { processStrReplace } from '../process-str-replace'
@@ -519,7 +527,6 @@ describe('Benchify resilience', () => {
519
527
toolCalls : [ ] ,
520
528
toolResults : [ ] ,
521
529
ws : { } as any ,
522
- fileContext : mockFileContext ,
523
530
agentStepId : 'test-step' ,
524
531
clientSessionId : 'test-session' ,
525
532
userInputId : 'test-input' ,
@@ -547,7 +554,6 @@ describe('Benchify resilience', () => {
547
554
toolCalls : [ ] ,
548
555
toolResults : [ ] ,
549
556
ws : { } as any ,
550
- fileContext : mockFileContext ,
551
557
agentStepId : 'test-step' ,
552
558
clientSessionId : 'test-session' ,
553
559
userInputId : 'test-input' ,
@@ -585,7 +591,6 @@ describe('Benchify resilience', () => {
585
591
toolCalls : [ ] ,
586
592
toolResults : [ ] ,
587
593
ws : { } as any ,
588
- fileContext : mockFileContext ,
589
594
agentStepId : 'test-step' ,
590
595
clientSessionId : 'test-session' ,
591
596
userInputId : 'test-input' ,
0 commit comments