fix(tap-parser): append newline to WebSocket tap log messages to ensure proper line-by-line processing

This commit is contained in:
2026-01-25 13:45:01 +00:00
parent 913c3cafe8
commit 6c498b3686
3 changed files with 10 additions and 2 deletions

View File

@@ -487,7 +487,9 @@ export class TapParser {
}
public async handleTapLog(tapLog: string) {
this._processLog(tapLog);
// Each WebSocket message represents a complete console.log() call,
// so append newline to ensure proper line-by-line processing
this._processLog(tapLog + '\n');
}
/**