The line-aggregating stray capture added two branches — the post-truncation early return and the residual-overflow admit — that the aggregation and split tests did not exercise, so per-file coverage dropped below 100%. A 2 MB newline-free native write under a 4 KiB maxLogBytes drives the residual across the budget (admit-and-truncate) and then short-circuits later chunks, asserting the captured output ends at the truncation marker and stays under budget rather than buffering the whole flood. |
||
|---|---|---|
| .. | ||
| boot-write-failure.spec.ts | ||
| protocol-mirror.e2e.ts | ||
| protocol.spec.ts | ||
| residual-detach.spec.ts | ||
| runtime.spec.ts | ||