The most critical three learnings for testing frontend, from ten years helping lead frontend engineering at Palantir.
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 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.
An overview of Selenium and a discussion on whether it's worth it relative to the other tools available.
The complete guide on JavaScript ReferenceErrors, how they can occur, and techniques and tools available to prevent them.
An exploration of why JavaScript regressions are important and an overview of automated testing techniques to prevent their occurrence.
A guide on the try-catch functionality available in JavaScript, it's quirks and tips on using this most effectively.
A short guide on best practices, techniques and existing tooling available to prevent TypeErrors in JavaScript or TypeScript.
A guide on the best practices in JavaScript UI testing, from behavior driven development, to naming conventions, to what browsers to execute tests within.
An in-depth guide on the API, quirks and performance of JavaScript's unshift method, as well as best practices when using it.