Skip to content

Commit 50a98ed

Browse files
prathmeshpatelgithub-actions[bot]
authored andcommitted
style: auto-fix prettier formatting
1 parent 4097e83 commit 50a98ed

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

mcpjam-inspector/client/src/hooks/__tests__/use-chat-session.minimal-mode.test.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,9 @@ describe("useChatSession minimal mode parity", () => {
309309
const latestTransport = mockTransportInstances.at(-1)!;
310310
expect(latestTransport.options.api).toBe("/api/mcp/chat-v2");
311311
expect(latestTransport.options.fetch).toBeUndefined();
312-
expect(await resolveConfig(latestTransport.options.headers)).toBeUndefined();
312+
expect(
313+
await resolveConfig(latestTransport.options.headers),
314+
).toBeUndefined();
313315

314316
act(() => {
315317
result.current.sendMessage({ text: "hello" });
@@ -353,9 +355,9 @@ describe("useChatSession minimal mode parity", () => {
353355
expect(await resolveConfig(latestTransport.options.headers)).toEqual({
354356
Authorization: "Bearer convex-token",
355357
});
356-
expect(await resolveConfig(latestTransport.options.headers)).not.toHaveProperty(
357-
"X-MCP-Session-Auth",
358-
);
358+
expect(
359+
await resolveConfig(latestTransport.options.headers),
360+
).not.toHaveProperty("X-MCP-Session-Auth");
359361
expect(mockAuthFetch).not.toHaveBeenCalled();
360362
});
361363
});

mcpjam-inspector/server/routes/web/__tests__/chat-v2.guest.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ describe("web routes — chat-v2 guest mode", () => {
105105

106106
beforeEach(() => {
107107
vi.clearAllMocks();
108-
testGuestKeyDir = mkdtempSync(path.join(os.tmpdir(), "chat-v2-guest-test-"));
108+
testGuestKeyDir = mkdtempSync(
109+
path.join(os.tmpdir(), "chat-v2-guest-test-"),
110+
);
109111
process.env.GUEST_JWT_KEY_DIR = testGuestKeyDir;
110112
initGuestTokenSecret();
111113
process.env.CONVEX_HTTP_URL = "https://example.convex.site";

0 commit comments

Comments
 (0)