( name: string, execute: (args: unknown) => Promise<unknown>, )
| 5 | const addonAvailable = probeIsolatedVm().compatible |
| 6 | |
| 7 | function makeBinding( |
| 8 | name: string, |
| 9 | execute: (args: unknown) => Promise<unknown>, |
| 10 | ): ToolBinding { |
| 11 | return { |
| 12 | name, |
| 13 | description: `${name} tool`, |
| 14 | inputSchema: { type: 'object', properties: {} }, |
| 15 | execute, |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | describe.skipIf(!addonAvailable)('createNodeIsolateDriver', () => { |
| 20 | describe('createContext', () => { |
no outgoing calls
no test coverage detected