You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-01 09:58:03 +03:00
Show time left for voice broadcast recordings (#9564)
This commit is contained in:
@@ -27,14 +27,16 @@ describe("SdkConfig", () => {
|
||||
beforeEach(() => {
|
||||
SdkConfig.put({
|
||||
voice_broadcast: {
|
||||
chunk_length: 1337,
|
||||
chunk_length: 42,
|
||||
max_length: 1337,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
it("should return the custom config", () => {
|
||||
const customConfig = JSON.parse(JSON.stringify(DEFAULTS));
|
||||
customConfig.voice_broadcast.chunk_length = 1337;
|
||||
customConfig.voice_broadcast.chunk_length = 42;
|
||||
customConfig.voice_broadcast.max_length = 1337;
|
||||
expect(SdkConfig.get()).toEqual(customConfig);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user