Skip to content

Commit 0b963bd

Browse files
test(client-runtime): drop MCP app case covered by toolOutput tests
AI-assisted; verified with the tests and tools listed above.
1 parent 2574116 commit 0b963bd

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎packages/client-runtime/src/work-log/itemDetail.test.ts‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,7 @@ describe("tool image output parsing", () => {
115115
});
116116

117117
describe("MCP app tool output", () => {
118-
it.each([
119-
["text content", {}],
120-
["text content and empty structured content", { structuredContent: {} }],
121-
])("shows the tool result, not the app wrapper: %s", (_, extra) => {
118+
it("shows the tool result, not the app wrapper", () => {
122119
const text = "Notice\nview\tcount\n/home\t42";
123120
const item = toolItem({
124121
t3McpApp: {
@@ -127,7 +124,7 @@ describe("MCP app tool output", () => {
127124
tool: "aggregate_rum_events",
128125
resourceUri: "ui://repro/dataviz",
129126
},
130-
result: { content: [{ type: "text", text }], ...extra },
127+
result: { content: [{ type: "text", text }] },
131128
});
132129
expect(turnItemOutputText(item)).toBe(text);
133130
});

0 commit comments

Comments
 (0)