Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/src/test_explorer.ts')
-rw-r--r--editors/code/src/test_explorer.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/code/src/test_explorer.ts b/editors/code/src/test_explorer.ts
index 2f0b4d5b5c..ac4ffb1926 100644
--- a/editors/code/src/test_explorer.ts
+++ b/editors/code/src/test_explorer.ts
@@ -142,6 +142,12 @@ export const prepareTestExplorer = (
);
ctx.pushClientCleanup(
+ client.onNotification(ra.appendOutputToRunTest, (output) => {
+ currentTestRun!.appendOutput(`${output}\r\n`);
+ }),
+ );
+
+ ctx.pushClientCleanup(
client.onNotification(ra.changeTestState, (results) => {
const test = idToTestMap.get(results.testId)!;
if (results.state.tag === "failed") {