File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -158,22 +158,16 @@ describe('the RTC Twilio-CLI Plugin', () => {
158158 service => ( service . sid = conversationServiceSid )
159159 ) ;
160160
161- // Find the conversation
162- const conversation = await twilioClient . conversations
161+ // Find the conversation participant
162+ const conversationParticipants = await twilioClient . conversations
163163 . services ( deployedConversationsService . sid )
164164 . conversations ( room . sid )
165- . fetch ( ) ;
166-
167- // Find the participant that has been added to the conversation
168- const conversationParticipants = await twilioClient . conversations
169- . conversations ( conversation . sid )
170165 . participants . list ( ) ;
171166 const conversationParticipant = conversationParticipants . find (
172167 participant => participant . identity === 'test user'
173168 ) ;
174169
175170 expect ( deployedConversationsService ) . toBeDefined ( ) ;
176- expect ( conversation ) . toBeDefined ( ) ;
177171 expect ( conversationParticipant ) . toBeDefined ( ) ;
178172 } ) ;
179173
You can’t perform that action at this time.
0 commit comments