Skip to content

Commit 469fbc4

Browse files
committed
fixup! fix(audio): handle audioOutput device preferences
[skip ci] Signed-off-by: Maksim Sukharev <[email protected]>
1 parent a62bd3b commit 469fbc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test-setup.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jest.mock('@nextcloud/capabilities', () => ({
3232
getCapabilities: jest.fn(() => mockedCapabilities),
3333
}))
3434

35-
window.AudioContext = jest.fn((() => ({
35+
window.AudioContext = jest.fn(() => ({
3636
sinkId: '',
3737
setSinkId: jest.fn(),
38-
})))
38+
}))
3939

4040
window.IntersectionObserver = jest.fn(() => ({
4141
observe: jest.fn(),

0 commit comments

Comments
 (0)