From 364176905e582c020adb05df9c55e2eb63917a99 Mon Sep 17 00:00:00 2001 From: mekya Date: Fri, 18 Oct 2024 21:41:34 +0300 Subject: [PATCH] Fix test case --- src/test/js/webrtc_adaptor.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/js/webrtc_adaptor.test.js b/src/test/js/webrtc_adaptor.test.js index 6d3e2946..aebec7d5 100644 --- a/src/test/js/webrtc_adaptor.test.js +++ b/src/test/js/webrtc_adaptor.test.js @@ -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);