(result: ExecutableToolResult)
| 76 | } |
| 77 | |
| 78 | function assertError(result: ExecutableToolResult): string { |
| 79 | expect(result.isError).toBe(true); |
| 80 | expect(typeof result.output).toBe('string'); |
| 81 | return result.output as string; |
| 82 | } |
| 83 | |
| 84 | function localIsoWithOffset(ms: number): string { |
| 85 | const date = new Date(ms); |