Extract requestMediaPermissions (#9568)
This commit is contained in:
parent
f2f00f68ba
commit
fca6ff271c
11 changed files with 196 additions and 53 deletions
|
@ -42,7 +42,6 @@ import { getIncomingCallToastKey, IncomingCallToast } from "../../src/toasts/Inc
|
|||
|
||||
describe("IncomingCallEvent", () => {
|
||||
useMockedCalls();
|
||||
Object.defineProperty(navigator, "mediaDevices", { value: { enumerateDevices: () => [] } });
|
||||
jest.spyOn(HTMLMediaElement.prototype, "play").mockImplementation(async () => { });
|
||||
|
||||
let client: Mocked<MatrixClient>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue