Skip to content

Commit f986114

Browse files
committed
linting
1 parent cbe6324 commit f986114

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ import {
5757
startAuthorization,
5858
exchangeAuthorization,
5959
} from "@modelcontextprotocol/sdk/client/auth.js";
60+
import { AuthDebuggerState } from "@/lib/auth-types";
6061

6162
// Type the mocked functions properly
6263
const mockDiscoverOAuthMetadata = discoverOAuthMetadata as jest.MockedFunction<
@@ -126,7 +127,9 @@ describe("AuthDebugger", () => {
126127
mockExchangeAuthorization.mockResolvedValue(mockOAuthTokens);
127128
});
128129

129-
const renderAuthDebugger = (props: any = {}) => {
130+
const renderAuthDebugger = (
131+
props: { authState?: AuthDebuggerState } = {},
132+
) => {
130133
const mergedProps = {
131134
...defaultProps,
132135
...props,

0 commit comments

Comments
 (0)