Skip to content

Commit 1c161cb

Browse files
committed
chore(clickup): lint formatting
1 parent be4cedc commit 1c161cb

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

apps/sim/lib/webhooks/providers/clickup.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -296,18 +296,18 @@ describe('ClickUp webhook provider', () => {
296296

297297
it('throws a friendly error on 401 from ClickUp', async () => {
298298
fetchMock.mockResolvedValueOnce(jsonResponse(401, { err: 'Token invalid' }))
299-
await expect(
300-
clickupHandler.createSubscription!(createContext(validConfig))
301-
).rejects.toThrow(/authentication failed/i)
299+
await expect(clickupHandler.createSubscription!(createContext(validConfig))).rejects.toThrow(
300+
/authentication failed/i
301+
)
302302
})
303303

304304
it('rolls back the created webhook and throws when no secret is returned', async () => {
305305
fetchMock.mockResolvedValueOnce(jsonResponse(200, { id: 'ext-3', webhook: { id: 'ext-3' } }))
306306
fetchMock.mockResolvedValueOnce(jsonResponse(200, {}))
307307

308-
await expect(
309-
clickupHandler.createSubscription!(createContext(validConfig))
310-
).rejects.toThrow(/no signing secret/i)
308+
await expect(clickupHandler.createSubscription!(createContext(validConfig))).rejects.toThrow(
309+
/no signing secret/i
310+
)
311311

312312
expect(fetchMock).toHaveBeenCalledTimes(2)
313313
const [deleteUrl, deleteInit] = fetchMock.mock.calls[1]

0 commit comments

Comments
 (0)