Skip to content

Commit 4790853

Browse files
waleedlatif1claude
andcommitted
fix: format long lines in chat/form test assertions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b7bc591 commit 4790853

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

apps/sim/app/api/chat/utils.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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

apps/sim/app/api/form/utils.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)