fix(tstest): Fix timeout handling to correctly evaluate TAP results after killing the test process.
This commit is contained in:
		| @@ -1,5 +1,10 @@ | |||||||
| # Changelog | # 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) | ## 2025-05-24 - 1.11.4 - fix(logging) | ||||||
| Improve warning logging and add permission settings file | Improve warning logging and add permission settings file | ||||||
|  |  | ||||||
|   | |||||||
| @@ -3,6 +3,6 @@ | |||||||
|  */ |  */ | ||||||
| export const commitinfo = { | export const commitinfo = { | ||||||
|   name: '@git.zone/tstest', |   name: '@git.zone/tstest', | ||||||
|   version: '1.11.4', |   version: '1.11.5', | ||||||
|   description: 'a test utility to run tests that match test/**/*.ts' |   description: 'a test utility to run tests that match test/**/*.ts' | ||||||
| } | } | ||||||
|   | |||||||
| @@ -194,6 +194,7 @@ export class TsTest { | |||||||
|         } catch (killError) { |         } catch (killError) { | ||||||
|           // Process tree might already be dead |           // Process tree might already be dead | ||||||
|         } |         } | ||||||
|  |         await tapParser.evaluateFinalResult(); | ||||||
|       } |       } | ||||||
|     } else { |     } else { | ||||||
|       await tapParser.handleTapProcess(execResultStreaming.childProcess); |       await tapParser.handleTapProcess(execResultStreaming.childProcess); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user