We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbe6324 commit f986114Copy full SHA for f986114
client/src/components/__tests__/AuthDebugger.test.tsx
@@ -57,6 +57,7 @@ import {
57
startAuthorization,
58
exchangeAuthorization,
59
} from "@modelcontextprotocol/sdk/client/auth.js";
60
+import { AuthDebuggerState } from "@/lib/auth-types";
61
62
// Type the mocked functions properly
63
const mockDiscoverOAuthMetadata = discoverOAuthMetadata as jest.MockedFunction<
@@ -126,7 +127,9 @@ describe("AuthDebugger", () => {
126
127
mockExchangeAuthorization.mockResolvedValue(mockOAuthTokens);
128
});
129
- const renderAuthDebugger = (props: any = {}) => {
130
+ const renderAuthDebugger = (
131
+ props: { authState?: AuthDebuggerState } = {},
132
+ ) => {
133
const mergedProps = {
134
...defaultProps,
135
...props,
0 commit comments