Add live voice broadcast indicator to user menu (#9590)

This commit is contained in:
Michael Weimann 2022-11-18 08:36:20 +01:00 committed by GitHub
parent c3de8cbe6b
commit ef548a4843
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 191 additions and 4 deletions

View file

@ -75,6 +75,7 @@ describe("VoiceBroadcastRecordingsStore", () => {
});
it("should return it as current", () => {
expect(recordings.hasCurrent()).toBe(true);
expect(recordings.getCurrent()).toBe(recording);
});
@ -103,6 +104,7 @@ describe("VoiceBroadcastRecordingsStore", () => {
});
it("should clear the current recording", () => {
expect(recordings.hasCurrent()).toBe(false);
expect(recordings.getCurrent()).toBeNull();
});