Skip to content

Commit 1ccf258

Browse files
committed
tets
1 parent ca3c7d0 commit 1ccf258

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

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

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,8 @@ describe('Zoom webhook provider', () => {
2727
expect(validateZoomSignature(secret, hashA, timestamp, rawB)).toBe(false)
2828
})
2929

30-
it('extractIdempotencyId prefers meeting uuid', () => {
31-
const zid = zoomHandler.extractIdempotencyId!({
32-
event: 'meeting.started',
33-
event_ts: 123,
34-
payload: { object: { uuid: 'u1', id: 55 } },
35-
})
36-
expect(zid).toBe('zoom:meeting.started:123:u1')
37-
})
38-
39-
it('extractIdempotencyId uses participant identity when available', () => {
40-
const zid = zoomHandler.extractIdempotencyId!({
41-
event: 'meeting.participant_joined',
42-
event_ts: 123,
43-
payload: {
44-
object: {
45-
uuid: 'meeting-uuid',
46-
participant: {
47-
user_id: 'participant-1',
48-
},
49-
},
50-
},
51-
})
52-
expect(zid).toBe('zoom:meeting.participant_joined:123:participant-1')
30+
it('does not implement extractIdempotencyId (x-zm-request-id handled at service level)', () => {
31+
expect(zoomHandler.extractIdempotencyId).toBeUndefined()
5332
})
5433

5534
it('formatInput passes through the Zoom webhook envelope', async () => {

0 commit comments

Comments
 (0)