Stop broadcast playback when stopping the broadcast (#9795)
This commit is contained in:
parent
c0e0078b6e
commit
2152f2ab8b
2 changed files with 5 additions and 1 deletions
|
@ -411,6 +411,10 @@ describe("VoiceBroadcastPlayback", () => {
|
|||
stopPlayback();
|
||||
itShouldSetTheStateTo(VoiceBroadcastPlaybackState.Stopped);
|
||||
|
||||
it("should stop the playback", () => {
|
||||
expect(chunk1Playback.stop).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
describe("and skipping to somewhere in the middle of the first chunk", () => {
|
||||
beforeEach(async () => {
|
||||
mocked(chunk1Playback.play).mockClear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue