Restore ability to play sound with custom volume

This was missing from the revert in 8b0f5054dd.
This commit is contained in:
Robin
2026-06-18 11:35:46 +02:00
parent 05797097c6
commit 3a598ffe43
2 changed files with 4 additions and 4 deletions

View File

@@ -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();