Skip to content

Commit ff7c8e6

Browse files
committed
chore: drop unrelated merge-hook formatting
Restore the MCP client test exactly to main. Skip the formatting hook for this restoration so it does not reintroduce changes outside the CLI fix.
1 parent 5b38c0c commit ff7c8e6

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎packages/mcp-core/src/api-client/client.test.ts‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ describe("API bearer token validation", () => {
4444
accessToken: "valid\nsecret",
4545
});
4646

47-
const error = await api
48-
.listOrganizations()
49-
.catch((cause: unknown) => cause);
47+
const error = await api.listOrganizations().catch((cause: unknown) => cause);
5048
expect(error).toBeInstanceOf(ConfigurationError);
5149
expect(String(error)).toContain("Malformed authentication token");
5250
expect(String(error)).not.toContain("valid\nsecret");
@@ -56,9 +54,7 @@ describe("API bearer token validation", () => {
5654
host: "sentry.example.com",
5755
accessToken: "",
5856
});
59-
await expect(emptyTokenApi.listOrganizations()).rejects.toThrow(
60-
ConfigurationError,
61-
);
57+
await expect(emptyTokenApi.listOrganizations()).rejects.toThrow(ConfigurationError);
6258
expect(requests).toBe(0);
6359
});
6460
});

0 commit comments

Comments
 (0)