Telegram Web K with changes to work inside I2P
https://web.telegram.i2p/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
375 B
16 lines
375 B
import fixLocalOffer from "../lib/calls/helpers/fixLocalOffer"; |
|
import data from "../mock/webrtc/data"; |
|
import sdp from "../mock/webrtc/sdp"; |
|
|
|
const offer: RTCSessionDescriptionInit = {type: 'offer', sdp}; |
|
|
|
test('fix SDP', () => { |
|
const fixed = fixLocalOffer({ |
|
offer, |
|
data |
|
}); |
|
|
|
// console.log(fixed.offer.sdp); |
|
|
|
expect(fixed.offer).toEqual(fixed.offer); |
|
});
|
|
|