Skip to content

Commit 50a4895

Browse files
committed
rm toast in test
1 parent 10cd3e2 commit 50a4895

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

client/src/components/__tests__/AuthDebugger.test.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@ const mockOAuthClientInfo = {
3333
redirect_uris: ["http://localhost:3000/oauth/callback/debug"],
3434
};
3535

36-
// Mock the toast hook
37-
const mockToast = jest.fn();
38-
jest.mock("@/hooks/use-toast", () => ({
39-
useToast: () => ({
40-
toast: mockToast,
41-
}),
42-
}));
43-
4436
// Mock MCP SDK functions - must be before imports
4537
jest.mock("@modelcontextprotocol/sdk/client/auth.js", () => ({
4638
auth: jest.fn(),

0 commit comments

Comments
 (0)