Fix tests

This commit is contained in:
Half-Shot
2025-09-25 11:16:38 +01:00
parent 8205e59950
commit 8d2c466e74
2 changed files with 3 additions and 1 deletions

View File

@@ -407,7 +407,7 @@ export const computeUrlParams = (search = "", hash = ""): UrlParams => {
}; };
switch (intent) { switch (intent) {
case UserIntent.StartNewCall: case UserIntent.StartNewCall:
intentPreset.skipLobby = true; intentPreset.skipLobby = false;
intentPreset.callIntent = "video"; intentPreset.callIntent = "video";
break; break;
case UserIntent.JoinExistingCall: case UserIntent.JoinExistingCall:

View File

@@ -360,6 +360,8 @@ export class MockRTCSession extends TypedEventEmitter<
return this; return this;
} }
public updateCallIntent = vitest.fn();
private _membershipStatus = Status.Connected; private _membershipStatus = Status.Connected;
public get membershipStatus(): Status { public get membershipStatus(): Status {
return this._membershipStatus; return this._membershipStatus;