Open hems opened 8 months ago
I'm writing a test to check an API endpoint and unfortunately i'm getting that error when trying to use qr-scanner on the backend.
qr-scanner
Here is an example piece of code that i'm running inside of a jest test:
jest
const qrCodeText = await QrScanner.scanImage(res.body);
I'm writing a test to check an API endpoint and unfortunately i'm getting that error when trying to use
qr-scanner
on the backend.Here is an example piece of code that i'm running inside of a
jest
test: