Issues with yarn test using react-native-ble-manager

112 Views Asked by At

the problem

I've created a BLE project and I'm facing several issues when trying to perform basic unit tests with the dependency. I couldn't find any resources on YouTube or the official library repository regarding this matter. I'm not sure how to proceed now, as I'm required to go through this testing routine. I can't release the project without passing yarn install, yarn lint, and finally yarn test. Unfortunately, the test always fails. Is there any alternative to make it work without resorting to complex mocking?

0

There are 0 best solutions below