Turns out I don’t have to enter some weird commands in the terminal. Instead, it is actually a configurable setting. Continue reading
Can you transfer your photos from Sony mirrorless cameras like A7 III to the 2018 new iPad Pro?
Yes. Continue reading
Here are 2 easy steps on how to sync Mi Fit with Google Fit in the new Mi Fit UI: Continue reading
Update on 12 Sept 2018:
React Apollo introduced official documentation on testing in June 2018:
You can still read my original post below, which includes Enzyme specific techniques that is not covered in official docs.
The only documentation that I found online for testing React Apollo component is a comment from React Apollo team on GitHub, and it is not using Enzyme.
So how do you test React Apollo components with Enzyme? And perhaps more importantly how do you get access to the inner component wrapped by React Apollo as a higher-order component (HOC) to mock its functions and verify its behaviours? Continue reading