File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,11 @@ describe('Chat API Utils', () => {
105105 } as any
106106
107107 const result = await validateChatAuth ( 'request-id' , deployment , mockRequest )
108- expect ( mockValidateAuthToken ) . toHaveBeenCalledWith ( 'valid-token' , 'chat-id' , 'encrypted-password' )
108+ expect ( mockValidateAuthToken ) . toHaveBeenCalledWith (
109+ 'valid-token' ,
110+ 'chat-id' ,
111+ 'encrypted-password'
112+ )
109113 expect ( result . authorized ) . toBe ( true )
110114 } )
111115
Original file line number Diff line number Diff line change @@ -75,7 +75,11 @@ describe('Form API Utils', () => {
7575 } as any
7676
7777 const result = await validateFormAuth ( 'request-id' , deployment , mockRequest )
78- expect ( mockValidateAuthToken ) . toHaveBeenCalledWith ( 'valid-token' , 'form-id' , 'encrypted-password' )
78+ expect ( mockValidateAuthToken ) . toHaveBeenCalledWith (
79+ 'valid-token' ,
80+ 'form-id' ,
81+ 'encrypted-password'
82+ )
7983 expect ( result . authorized ) . toBe ( true )
8084 } )
8185
You can’t perform that action at this time.
0 commit comments