mirror of https://github.com/vector-im/riot-web
parent
d0fea745bb
commit
cfdfc4e640
|
@ -102,7 +102,7 @@ test.describe("Device verification", () => {
|
||||||
// feed the QR code into the verification request.
|
// feed the QR code into the verification request.
|
||||||
const qrData = await readQrCode(infoDialog);
|
const qrData = await readQrCode(infoDialog);
|
||||||
const verifier = await verificationRequest.evaluateHandle(
|
const verifier = await verificationRequest.evaluateHandle(
|
||||||
(request, qrData) => request.scanQRCode(new Uint8Array(qrData)),
|
(request, qrData) => request.scanQRCode(new Uint8ClampedArray(qrData)),
|
||||||
[...qrData],
|
[...qrData],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue