Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
mekya committed Oct 18, 2024
1 parent 3bcafe7 commit 3641769
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/js/webrtc_adaptor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1798,10 +1798,10 @@ describe("WebRTCAdaptor", function() {

console.log("publish peerStats: " + JSON.stringify(peerStats));
expect(peerStats.streamId).to.be.equal(streamId);
expect(peerStats.audioPacketsSent).to.be.above(0);
expect(peerStats.videoPacketsSent).to.be.above(0);
expect(peerStats.frameWidth).to.be.above(0);
expect(peerStats.frameHeight).to.be.above(0);
expect(peerStats.audioPacketsSent).to.be.least(0);
expect(peerStats.videoPacketsSent).to.be.least(0);
expect(peerStats.frameWidth).to.be.least(0);
expect(peerStats.frameHeight).to.be.least(0);
expect(peerStats.currentRoundTripTime).to.be.above(0);
expect(peerStats.currentRoundTripTime).to.be.most(1);

Expand Down

0 comments on commit 3641769

Please sign in to comment.