1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Tweak voice broadcast chunk decoding (#9713)

This commit is contained in:
Michael Weimann
2022-12-07 10:37:30 +01:00
committed by GitHub
parent 8ced72dba6
commit 254815cbcf
2 changed files with 39 additions and 27 deletions

View File

@@ -387,6 +387,9 @@ describe("VoiceBroadcastPlayback", () => {
});
it("should play until the end", () => {
// assert first chunk was unloaded
expect(chunk1Playback.destroy).toHaveBeenCalled();
// assert that the second chunk is being played
expect(chunk2Playback.play).toHaveBeenCalled();