Skip to content

Commit 0f8bfe3

Browse files
cliffhallclaude
andcommitted
test(filesystem): expect SDK 1.x's wrapped roots/list error in the #5097 test
The cherry-pick of 564e84d comes from the SDK v2 tree, where a client handler's error reaches the server as "gone"; SDK 1.x wraps it as "MCP error -32603: gone", as the existing re-fetch test on this branch already expects. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
1 parent b503c69 commit 0f8bfe3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/filesystem/__tests__/server-roots.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ describe("roots/list_changed", () => {
486486
await vi.waitFor(() =>
487487
expect(stderr).toHaveBeenCalledWith(
488488
"Failed to request roots from client:",
489-
"gone",
489+
"MCP error -32603: gone",
490490
),
491491
);
492492

0 commit comments

Comments
 (0)