Commit 93de69f
committed
🧪 [test] Refactor output capturing in coverage tests
🧪 [test] Refactors the output capturing mechanism in the extended coverage test suite.
- Modifies the mock for `Invoke-WithUtf8Encoding` to capture its first argument, which represents the complete rendered text block.
- This change centralizes how rendered output is collected for test assertions.
🧹 [chore] Suppresses output capturing from the `Write-RenderedText` mock.
- Prevents duplicate or partial text captures, as the output is now reliably collected by the `Invoke-WithUtf8Encoding` mock.
Signed-off-by: Nick2bad4u <20943337+Nick2bad4u@users.noreply.github.com>1 parent 684fecb commit 93de69f
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
616 | 621 | | |
617 | 622 | | |
618 | 623 | | |
619 | 624 | | |
620 | | - | |
| 625 | + | |
621 | 626 | | |
622 | 627 | | |
623 | 628 | | |
| |||
0 commit comments