( agentsDir: string, fileName: string, contents: string, )
| 22 | * @param contents - The TypeScript/JavaScript content |
| 23 | */ |
| 24 | const writeAgentFile = ( |
| 25 | agentsDir: string, |
| 26 | fileName: string, |
| 27 | contents: string, |
| 28 | ): void => { |
| 29 | writeFileSync(path.join(agentsDir, fileName), contents, 'utf8') |
| 30 | } |
| 31 | |
| 32 | describe('loadLocalAgents', () => { |
| 33 | let tempDir: string |