()
| 10 | let originalBashCall: BashCall |
| 11 | |
| 12 | function createContext() { |
| 13 | return { |
| 14 | abortController: new AbortController(), |
| 15 | readFileState: {} as never, |
| 16 | getAppState: () => ({ |
| 17 | toolPermissionContext: getEmptyToolPermissionContext(), |
| 18 | }), |
| 19 | setAppState: () => {}, |
| 20 | options: { |
| 21 | verbose: false, |
| 22 | }, |
| 23 | setMessages: () => {}, |
| 24 | onChangeAPIKey: () => {}, |
| 25 | } as never |
| 26 | } |
| 27 | |
| 28 | beforeEach(() => { |
| 29 | originalBashCall = BashTool.call |
no test coverage detected