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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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();