While I was trying to upload some new photos onto my blog, I realized that all my photo sizes are gone. I use different sizes in blog posts and final tiles gallery as my portfolio so they are pretty important for me.
So today I decided to take on an adventure of updating my WordPress from an ancient 4.x to 5.x.
I did my due diligence of backing up and take a snapshot from DigitalOcean (my VPS service provider) and then started the risky process. The WordPress upgrade itself was relatively smooth with no issues. Little did I know that I was jumping into something more serious… Continue reading →
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 →