The most critical three learnings for testing frontend, from ten years helping lead frontend engineering at Palantir.
A guide on the try-catch functionality available in JavaScript, it's quirks and tips on using this most effectively.
An exploration of why JavaScript regressions are important and an overview of automated testing techniques to prevent their occurrence.
An overview of Selenium and a discussion on whether it's worth it relative to the other tools available.
A guide on how to use React Testing Library's to wait for and test asynchronously loaded elements. Contains code examples and a step-by-step walkthrough.
Follow this step-by-step guide on Jest's SpyOn method, with a practical example using React and Fetch. This post also includes a comparison to mocks.
A how-to guide on how to set up visual regression testing in a web application using Jest and Cypress.
A guide on the root cause of 'cannot read map of undefined' as well as techniques and tools to prevent this error.
A guide on how to prevent the error "cannot read property '0' of undefined", covering techniques such as try, catch, using const over let, amongst many other techniques to prevent this error.
The complete guide on JavaScript Syntax Errors, how they occur, and techniques and tools available to prevent them.