Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo K
2025-08-26 18:29:51 +02:00
parent f410a11934
commit c15551c9f5

View File

@@ -1300,8 +1300,12 @@ describe("shouldWaitForCallPickup$", () => {
r: () => {
rtcSession.emit(
MatrixRTCSessionEvent.DidSendCallNotification,
{ lifetime: 100 } as unknown as IRTCNotificationContent,
{} as unknown as ICallNotifyContent,
{ lifetime: 100 } as unknown as {
event_id: string;
} & IRTCNotificationContent,
{} as unknown as {
event_id: string;
} & ICallNotifyContent,
);
},
});
@@ -1347,8 +1351,12 @@ describe("shouldWaitForCallPickup$", () => {
r: () => {
rtcSession.emit(
MatrixRTCSessionEvent.DidSendCallNotification,
{ lifetime: 50 } as unknown as IRTCNotificationContent,
{} as unknown as ICallNotifyContent,
{ lifetime: 50 } as unknown as {
event_id: string;
} & IRTCNotificationContent,
{} as unknown as {
event_id: string;
} & ICallNotifyContent,
);
},
});
@@ -1380,8 +1388,12 @@ describe("shouldWaitForCallPickup$", () => {
r: () => {
rtcSession.emit(
MatrixRTCSessionEvent.DidSendCallNotification,
{ lifetime: 0 } as unknown as IRTCNotificationContent, // no lifetime
{} as unknown as ICallNotifyContent,
{ lifetime: 0 } as unknown as {
event_id: string;
} & IRTCNotificationContent, // no lifetime
{} as unknown as {
event_id: string;
} & ICallNotifyContent,
);
},
});
@@ -1425,8 +1437,12 @@ describe("shouldWaitForCallPickup$", () => {
r: () => {
rtcSession.emit(
MatrixRTCSessionEvent.DidSendCallNotification,
{ lifetime: 30 } as unknown as IRTCNotificationContent,
{} as unknown as ICallNotifyContent,
{ lifetime: 30 } as unknown as {
event_id: string;
} & IRTCNotificationContent,
{} as unknown as {
event_id: string;
} & ICallNotifyContent,
);
},
});