I am using react-native-testing-library in order to test my app, and I found out that "regenerator-runtime/runtime" swallows critical errors in my app, so I am trying now to get rid of it. I also found out that react-native/jest/setup.js
brings this lib directly. is there a way to disable regenerator
in my tests so I could see all errors??
UPDATE: After some more investigation, It looks like regenerator
is not the culprit, or at least it's not the only culprit. But my question remains the same- I still want to get rid of regenerator
because it uglifies my stack trace and it's not necessary in the tests.