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:
parent
b81582d045
commit
ce75d3381f
4 changed files with 63 additions and 3 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue