File tree Expand file tree Collapse file tree 1 file changed +2
-23
lines changed
apps/sim/lib/webhooks/providers Expand file tree Collapse file tree 1 file changed +2
-23
lines changed Original file line number Diff line number Diff 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 ( ) => {
You can’t perform that action at this time.
0 commit comments