File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
client/src/components/__tests__ Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ jest.mock("@modelcontextprotocol/sdk/client/auth.js", () => ({
5050 exchangeAuthorization : jest . fn ( ) ,
5151} ) ) ;
5252
53- // Import mocked functions (removing unused mockAuth)
53+ // Import mocked functions
5454import {
5555 discoverOAuthMetadata as mockDiscoverOAuthMetadata ,
5656 registerClient as mockRegisterClient ,
@@ -188,10 +188,10 @@ describe("AuthDebugger", () => {
188188
189189 await act ( async ( ) => {
190190 renderAuthDebugger ( {
191- authState : {
192- ...defaultAuthState ,
193- oauthTokens : mockOAuthTokens
194- }
191+ authState : {
192+ ...defaultAuthState ,
193+ oauthTokens : mockOAuthTokens ,
194+ } ,
195195 } ) ;
196196 } ) ;
197197
@@ -240,9 +240,9 @@ describe("AuthDebugger", () => {
240240 renderAuthDebugger ( {
241241 authState : {
242242 ...defaultAuthState ,
243- oauthTokens : mockOAuthTokens
243+ oauthTokens : mockOAuthTokens ,
244244 } ,
245- updateAuthState
245+ updateAuthState,
246246 } ) ;
247247 } ) ;
248248
@@ -276,9 +276,9 @@ describe("AuthDebugger", () => {
276276 updateAuthState,
277277 authState : {
278278 ...defaultAuthState ,
279- isInitiatingAuth : false , // Changed to false so button is enabled
280- oauthStep : "metadata_discovery"
281- }
279+ isInitiatingAuth : false , // Changed to false so button is enabled
280+ oauthStep : "metadata_discovery" ,
281+ } ,
282282 } ) ;
283283 } ) ;
284284
You can’t perform that action at this time.
0 commit comments