You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-07 23:02:56 +03:00
Add unit tests for hangup / reject (#2606)
* Add unit tests for hangup / reject Fixes https://github.com/vector-im/element-call/issues/537 * Fix some bugs where we carried on with the call after it had been ended
This commit is contained in:
@@ -109,6 +109,12 @@ export class MockRTCPeerConnection {
|
||||
sdp: DUMMY_SDP,
|
||||
});
|
||||
}
|
||||
createAnswer() {
|
||||
return Promise.resolve({
|
||||
type: 'answer',
|
||||
sdp: DUMMY_SDP,
|
||||
});
|
||||
}
|
||||
setRemoteDescription() {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
Reference in New Issue
Block a user