(filePath: string)
| 61 | } |
| 62 | |
| 63 | function tryDeleteFile(filePath: string): void { |
| 64 | try { |
| 65 | rmSync(filePath, { force: true }); |
| 66 | } catch { |
| 67 | // Best-effort cleanup. |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | it("should execute user requested shell command", { timeout: 120_000 }, async () => { |
| 72 | const session = await client.createSession({ onPermissionRequest: approveAll }); |
no outgoing calls
no test coverage detected
searching dependent graphs…