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.

17 lines
374 B

2 years ago
import fixLocalOffer from '../lib/calls/helpers/fixLocalOffer';
import data from '../mock/webrtc/data';
import sdp from '../mock/webrtc/sdp';
3 years ago
const offer: RTCSessionDescriptionInit = {type: 'offer', sdp};
test('fix SDP', () => {
const fixed = fixLocalOffer({
2 years ago
offer,
3 years ago
data
});
// console.log(fixed.offer.sdp);
expect(fixed.offer).toEqual(fixed.offer);
});