style: format expected json output in protocol test
This commit is contained in:
@@ -176,7 +176,9 @@ describe("MCP protocol unstableFilter", () => {
|
|||||||
|
|
||||||
const body = await response.json();
|
const body = await response.json();
|
||||||
expect(body.result.content[0].type).toBe("text");
|
expect(body.result.content[0].type).toBe("text");
|
||||||
expect(JSON.parse(body.result.content[0].text)).toEqual([{ title: "item" }]);
|
expect(JSON.parse(body.result.content[0].text)).toEqual([
|
||||||
|
{ title: "item" },
|
||||||
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("handler should forward unstableFilter=true for search_ebay", async () => {
|
test("handler should forward unstableFilter=true for search_ebay", async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user