Ensure that the the jwt service is called before starting a call

This commit is contained in:
Valere
2025-08-05 15:13:04 +02:00
parent 955c22c8dc
commit 1a3e88c19a
3 changed files with 175 additions and 27 deletions

View File

@@ -100,5 +100,5 @@ test("When creator left, avoid reconnect to the same SFU", async ({
// https://github.com/element-hq/element-call/issues/3344
// The app used to request a new jwt token then to reconnect to the SFU
expect(wsConnectionCount).toBe(1);
expect(sfuGetCallCount).toBe(1);
expect(sfuGetCallCount).toBe(2 /* the first one is for the warmup */);
});