Update overly sensitive snapshot (#9421)

* Update snapshot

* Fix tests by adding missing stub
This commit is contained in:
Michael Telatynski 2022-10-14 15:57:12 +01:00 committed by GitHub
parent cb5667b4a4
commit cf1b592f26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 21 deletions

View file

@ -184,6 +184,7 @@ export function createTestClient(): MatrixClient {
setAudioInput: jest.fn(),
} as unknown as MediaHandler),
uploadContent: jest.fn(),
getEventMapper: () => (opts) => new MatrixEvent(opts),
} as unknown as MatrixClient;
client.reEmitter = new ReEmitter(client);