Pass analyticsID to the elementCall iFrame (#9637)

Co-authored-by: Robin <robin@robin.town>
Co-authored-by: Timo K <timok@element.io>
This commit is contained in:
Timo 2022-12-22 13:09:57 +01:00 committed by GitHub
parent b81582d045
commit ce75d3381f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 63 additions and 3 deletions

View file

@ -136,7 +136,7 @@ export function createTestClient(): MatrixClient {
getTurnServers: jest.fn().mockReturnValue([]),
getTurnServersExpiry: jest.fn().mockReturnValue(2 ^ 32),
getThirdpartyUser: jest.fn().mockResolvedValue([]),
getAccountData: (type) => {
getAccountData: jest.fn().mockImplementation((type) => {
return mkEvent({
user: undefined,
room: undefined,
@ -144,7 +144,7 @@ export function createTestClient(): MatrixClient {
event: true,
content: {},
});
},
}),
mxcUrlToHttp: (mxc) => `http://this.is.a.url/${mxc.substring(6)}`,
setAccountData: jest.fn(),
setRoomAccountData: jest.fn(),