diff --git a/spec/unit/webrtc/groupCall.spec.ts b/spec/unit/webrtc/groupCall.spec.ts index 75b75c2e4..0c0990aa1 100644 --- a/spec/unit/webrtc/groupCall.spec.ts +++ b/spec/unit/webrtc/groupCall.spec.ts @@ -584,6 +584,8 @@ describe('Group Call', function() { }); afterEach(function() { + groupCall1.leave(); + groupCall2.leave(); jest.useRealTimers(); MockRTCPeerConnection.resetInstances();