Export to JSONL file.
(filePath: string)
| 68 | |
| 69 | /** Export to JSONL file. */ |
| 70 | exportToFile(filePath: string): number { |
| 71 | const lines = this.entries.map(e => JSON.stringify(e)); |
| 72 | fs.writeFileSync(filePath, lines.join('\n') + '\n'); |
| 73 | return this.entries.length; |
| 74 | } |
| 75 | |
| 76 | /** Summary of captured responses (URL, status, size). */ |
| 77 | summary(): string { |
no outgoing calls
no test coverage detected