Skip to content

Commit 6dede8e

Browse files
committed
fix: update error message in tests
1 parent fa105b0 commit 6dede8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/test/client/client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ test('should respect client notification capabilities', async () => {
645645
await clientWithoutCapability.connect(clientTransport);
646646

647647
// This should throw because the client doesn't have the roots.listChanged capability
648-
await expect(clientWithoutCapability.sendRootsListChanged()).rejects.toThrow(/^Client does not support/);
648+
await expect(clientWithoutCapability.sendRootsListChanged()).rejects.toThrow(/^MCP error -32043: Client does not support/);
649649
});
650650

651651
/***

0 commit comments

Comments
 (0)