Miguel Araujo

Results 28 comments of Miguel Araujo

I've moved indented code to a method named `check_expected_data` that raises the exception if it fails. However maybe you prefer a method like `is_expected_data_valid` that returns a Boolean and whether...

Hi Gabriel, I've rebased the patch against latest `master` branch, so that it works in Mac. Tests are not passing, but I believe the ones that are broken are also...

Thanks a lot @lelandrichardson for taking the time to answer, I've added `--require react-native-mock/mock`. To be honest I forgot to mention I had a `--require test/setup.js` that contained the import...

Hi Leland, Thanks to your comment, I tried to reduce it to absurdity. I started changing `DrawerOption` into a much simpler component testing it after every change to find out...

Hi there, Today i was suffering an issue in my tests, that I finally solved from using the previous gist and moving away of `ts-jest`. In my case it looked...

I was hitting this "bug" repeated times after upgrading RN > 0.50 Today I found out that this is due to the new error boundary handling in React 16. You...

Yes, completely agree, it took me some time to figure this out. Also, it would be nice that the docs included the way to access state data `window.History.getState().data`. Regards, Miguel

This is actually triggered by a bug in React Native quite old https://github.com/facebook/react-native/issues/10002 When you pass `pixels` property you are preventing `react-native-transformable-image` to call `getSize` which is obviously buggy.

Can you post a screenshot of the debug traceback? Would you post some of the code you have to render the form? I guess you have `{% load uni_form_tags %}`...