(data: Buffer)
| 694 | } |
| 695 | |
| 696 | function toolFor(data: Buffer): ReadMediaFileTool { |
| 697 | return makeReadMediaTool({ |
| 698 | stat: vi.fn<Kaos['stat']>().mockResolvedValue({ ...DEFAULT_STAT, stSize: data.length }), |
| 699 | readBytes: vi.fn<Kaos['readBytes']>().mockResolvedValue(data), |
| 700 | }); |
| 701 | } |
| 702 | |
| 703 | it('accepts region and full_resolution in the input schema', () => { |
| 704 | expect( |
no test coverage detected