1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-07 21:23:00 +03:00

Replace getQRCodeBytes with generateQRCode (#11241)

* Replace `getQRCodeBytes` with `generateQRCode`

* another test update

* remove obsolete snapshot
This commit is contained in:
Richard van der Hoff
2023-07-13 14:55:55 +01:00
committed by GitHub
parent 9077592bec
commit 2cfbd73cd3
6 changed files with 48 additions and 12 deletions

View File

@@ -179,6 +179,7 @@ describe("<UserInfo />", () => {
Object.assign(this, {
channel: { transactionId: 1 },
otherPartySupportsMethod: jest.fn(),
generateQRCode: jest.fn().mockReturnValue(new Promise(() => {})),
...opts,
});
}