You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-24 06:02:08 +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