(name, content)
| 18 | } |
| 19 | |
| 20 | async function createTestFile(name, content) { |
| 21 | const filePath = join(TEST_DIR, name); |
| 22 | await fs.writeFile(filePath, content, 'utf8'); |
| 23 | return filePath; |
| 24 | } |
| 25 | |
| 26 | function extractTotalLines(result) { |
| 27 | // Result is { content: [{ type: 'text', text: '...' }] } |