style: format expected json output in protocol test
This commit is contained in:
1 parent
f68a5a8d9b
commit
fc7200777e
1 file changed
+3
-1
@@ -176,7 +176,9 @@ describe("MCP protocol unstableFilter", () => {
|
||||
|
||||
const body = await response.json();
|
||||
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 () => {
|
||||
|
||||
Reference in new issue
Block a user