File tree Expand file tree Collapse file tree 2 files changed +25
-25
lines changed
Expand file tree Collapse file tree 2 files changed +25
-25
lines changed Original file line number Diff line number Diff line change @@ -74,25 +74,26 @@ describe('call members API', () => {
7474 expect ( unblockResponse ) . toBeDefined ( ) ;
7575 } ) ;
7676
77- // backend issue
78- // it("mute one or many users", async () => {
79- // const muteAllResponse = await call.muteUsers({
80- // mute_all_users: true,
81- // audio: true,
82- // });
83-
84- // expect(muteAllResponse).toBeDefined();
85-
86- // const muteUserResponse = await call.muteUsers({
87- // user_ids: ["sara"],
88- // audio: true,
89- // video: true,
90- // screenshare: true,
91- // screenshare_audio: true,
92- // });
93-
94- // expect(muteUserResponse).toBeDefined();
95- // });
77+ it ( 'mute one or many users' , async ( ) => {
78+ const muteAllResponse = await call . muteUsers ( {
79+ mute_all_users : true ,
80+ audio : true ,
81+ muted_by_id : 'john' ,
82+ } ) ;
83+
84+ expect ( muteAllResponse ) . toBeDefined ( ) ;
85+
86+ const muteUserResponse = await call . muteUsers ( {
87+ user_ids : [ 'sara' ] ,
88+ audio : true ,
89+ video : true ,
90+ screenshare : true ,
91+ screenshare_audio : true ,
92+ muted_by_id : 'john' ,
93+ } ) ;
94+
95+ expect ( muteUserResponse ) . toBeDefined ( ) ;
96+ } ) ;
9697
9798 it ( 'grant and revoke permissions' , async ( ) => {
9899 const revokeResponse = await call . updateUserPermissions ( {
Original file line number Diff line number Diff line change @@ -94,12 +94,11 @@ describe('teams', () => {
9494
9595 expect ( response . calls . length ) . toBeGreaterThan ( 0 ) ;
9696
97- // TODO: backend issue
98- // response = await client.video.queryCalls({
99- // filter_conditions: {
100- // team: null,
101- // },
102- // });
97+ response = await client . video . queryCalls ( {
98+ filter_conditions : {
99+ team : null ,
100+ } ,
101+ } ) ;
103102
104103 response = await client . video . queryCalls ( {
105104 filter_conditions : {
You can’t perform that action at this time.
0 commit comments