Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d92850e1d2 | |||
| 6c498b3686 |
@@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-01-25 - 3.1.7 - fix(tap-parser)
|
||||
append newline to WebSocket tap log messages to ensure proper line-by-line processing
|
||||
|
||||
- Fixes handling of WebSocket console.log messages by appending a trailing newline before processing to avoid merged lines.
|
||||
- Modified ts/tstest.classes.tap.parser.ts: handleTapLog now calls _processLog(tapLog + '\n').
|
||||
|
||||
## 2026-01-19 - 3.1.6 - fix(logging)
|
||||
handle mid-line streaming output in test logger and add streaming tests
|
||||
|
||||
|
||||
@@ -9,5 +9,5 @@
|
||||
"target": "ES2022"
|
||||
},
|
||||
"nodeModulesDir": true,
|
||||
"version": "3.1.6"
|
||||
"version": "3.1.7"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@git.zone/tstest",
|
||||
"version": "3.1.6",
|
||||
"version": "3.1.7",
|
||||
"private": false,
|
||||
"description": "a test utility to run tests that match test/**/*.ts",
|
||||
"exports": {
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@git.zone/tstest',
|
||||
version: '3.1.6',
|
||||
version: '3.1.7',
|
||||
description: 'a test utility to run tests that match test/**/*.ts'
|
||||
}
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user