fix(tstest): Fix timeout handling to correctly evaluate TAP results after killing the test process.

This commit is contained in:
Philipp Kunz 2025-05-24 14:33:24 +00:00
parent 3c535a8a77
commit 96efba5903
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## 2025-05-24 - 1.11.5 - fix(tstest)
Fix timeout handling to correctly evaluate TAP results after killing the test process.
- Added call to evaluateFinalResult() after killing the process in runInNode to ensure final TAP output is processed.
## 2025-05-24 - 1.11.4 - fix(logging)
Improve warning logging and add permission settings file

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tstest',
version: '1.11.4',
version: '1.11.5',
description: 'a test utility to run tests that match test/**/*.ts'
}

View File

@ -194,6 +194,7 @@ export class TsTest {
} catch (killError) {
// Process tree might already be dead
}
await tapParser.evaluateFinalResult();
}
} else {
await tapParser.handleTapProcess(execResultStreaming.childProcess);