mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-19 06:20:25 +00:00
mock createMediaStreamDestination
This commit is contained in:
@@ -87,6 +87,7 @@ export const testAudioContext = {
|
||||
createGain: vi.fn().mockReturnValue(gainNode),
|
||||
createStereoPanner: vi.fn().mockReturnValue(panNode),
|
||||
close: vi.fn().mockResolvedValue(undefined),
|
||||
createMediaStreamDestination: vi.fn(),
|
||||
};
|
||||
export const TestAudioContextConstructor = vi.fn(() => testAudioContext);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user