Hello 👋

I'm Alejandro

A Web Engineer from Málaga, Spain based in London, UK

Posts about "Testing"

React Testing Setup

Testing your code is like having a lifesaver, everyone should have one. Here, I'm going to set up an environment of safety, one that will you the confidence you need to ship your React code in the best shape possible. Let's assume you…
Read →

Mocking HTTP requests with Mock Service Worker

There is a lot of talk these days about if when you are testing your API integration you should be mocking your client (fetch/axios...etc.) or not. To answer your question, we want our tests to be as reliable as possible, so if they work…
Read →

Mocking a Server Error with cypress

When doing cypress end-to-end tests, it is very tempting to only be testing the happy path most of the time. The happy path, is the one we think users will follow , the ideal journey that will take a user from state A to B. But users…
Read →