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'
210import { applyPatch } from 'diff'
311
412// Mock the benchify module to simulate missing API key
@@ -8,7 +16,7 @@ mock.module('benchify', () => ({
816 runFixer ( ) {
917 return Promise . resolve ( [ ] )
1018 }
11- }
19+ } ,
1220} ) )
1321
1422import { processStrReplace } from '../process-str-replace'
@@ -519,7 +527,6 @@ describe('Benchify resilience', () => {
519527 toolCalls : [ ] ,
520528 toolResults : [ ] ,
521529 ws : { } as any ,
522- fileContext : mockFileContext ,
523530 agentStepId : 'test-step' ,
524531 clientSessionId : 'test-session' ,
525532 userInputId : 'test-input' ,
@@ -547,7 +554,6 @@ describe('Benchify resilience', () => {
547554 toolCalls : [ ] ,
548555 toolResults : [ ] ,
549556 ws : { } as any ,
550- fileContext : mockFileContext ,
551557 agentStepId : 'test-step' ,
552558 clientSessionId : 'test-session' ,
553559 userInputId : 'test-input' ,
@@ -585,7 +591,6 @@ describe('Benchify resilience', () => {
585591 toolCalls : [ ] ,
586592 toolResults : [ ] ,
587593 ws : { } as any ,
588- fileContext : mockFileContext ,
589594 agentStepId : 'test-step' ,
590595 clientSessionId : 'test-session' ,
591596 userInputId : 'test-input' ,
0 commit comments