mirror of
https://github.com/vector-im/element-call.git
synced 2026-06-30 18:02:56 +00:00
Restore ability to play sound with custom volume
This was missing from the revert in 8b0f5054dd.
This commit is contained in:
@@ -310,7 +310,7 @@ test("Should close widget when all other left and play a sound", async () => {
|
||||
expect(widgetClosedCalled).toBeFalsy();
|
||||
resolvePlaySound.resolve();
|
||||
|
||||
expect(playSound).toHaveBeenCalledWith("left");
|
||||
expect(playSound).toHaveBeenCalledWith("left", 0);
|
||||
await widgetClosedPromise;
|
||||
await flushPromises();
|
||||
expect(widgetClosedCalled).toBeTruthy();
|
||||
|
||||
Reference in New Issue
Block a user