Skip to content

Commit

Permalink
chore: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Aug 8, 2024
1 parent 05f488b commit 2b0eee5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/rtc/test/impl/IAgoraRtcEngineImplEx.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ describe('IAgoraRtcEngineImpl', () => {
connection
);
let remoteUsers = irisClient.agoraRTCClient!.remoteUsers;
expect(remoteUsers[0].videoTrack?.isPlaying).toBe(true);
expect(remoteUsers[0].videoTrack?.isPlaying).toBe(false);

await callIris(
apiEnginePtr,
Expand All @@ -355,6 +355,7 @@ describe('IAgoraRtcEngineImpl', () => {
}
);
expect(remoteUsers[0].videoTrack).not.toBeUndefined();
expect(remoteUsers[0].videoTrack?.isPlaying).toBe(true);
});
test('muteRemoteVideoStreamEx_6d93082', async () => {
await callIris(apiEnginePtr, 'RtcEngine_enableVideo', null);
Expand All @@ -364,7 +365,7 @@ describe('IAgoraRtcEngineImpl', () => {
connection
);
let remoteUsers = irisClient.agoraRTCClient!.remoteUsers;
expect(remoteUsers[0].videoTrack?.isPlaying).toBe(true);
expect(remoteUsers[0].videoTrack?.isPlaying).toBe(false);

await callIris(
apiEnginePtr,
Expand All @@ -386,6 +387,7 @@ describe('IAgoraRtcEngineImpl', () => {
}
);
expect(remoteUsers[0].videoTrack).not.toBeUndefined();
expect(remoteUsers[0].videoTrack?.isPlaying).toBe(true);
});

test('createDataStreamEx_9f641b6', async () => {
Expand Down

0 comments on commit 2b0eee5

Please sign in to comment.