Cypress Intercept
Why ? The folks at cypress define the intercept function as a way to “Spy and stub network requests and responses”. I myself prefer the term mocking the request or response. Just to throw in my two cents on the mock vs stub debate. There is no difference. For those unaware of the massive internet …