I'm developing a React app with a QR-scanner in it with create-react-app
.
I've added the module react-qr-reader
which in turn uses the modules webrtc-adapter
.
It all works great, until I run yarn test
. Then it shows me this error:
I've already ejected the project so I can use transformIgnorePatterns
and added node_modules/webrtc-adapter
to the array, but that still results in the same error.
Can anyone help me with this?