A guide on how to do visual regression testing in a React app - a step-by-step tutorial. This includes an introduction to visual regression testing, spinning up an example app and a step-by-step guide on creating some visual regression tests.
An overview and discussion of the testing pyramid, the balance between unit tests, integration tests and e2e tests, along with information on how this relates to frontend testing.
The complete guide on JavaScript RangeErrors, how they can occur, and techniques and tools available to prevent them.
A guide on the best practices in JavaScript UI testing, from behavior driven development, to naming conventions, to what browsers to execute tests within.
A guide on the try-catch functionality available in JavaScript, it's quirks and tips on using this most effectively.
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.
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.
A tutorial on how to get started with IndexedDB and whether you should use it, with an example code walkthrough.
A guide on some of the best practices for frontend unit testing, including covering libraries like Jest with various code examples.