Recent blog posts
- Reduce CI/CD times by 50% with these tools
- Vitest vs Jest
- What makes a good frontend test?
- Guide to Vitest Browser Mode - and why you should think about using it
- Testing for accessibility in your Frontend application
- Testing async RSC components in Vitest
- Add type checks to your Vitest tests
- Everything you need to know about act() in React tests
- Welcome!
- All blog posts
React Server Components
Testing + CI/CD
Cheat sheets/mega posts
Vitest specific
Frontend Testing Blog Posts & Resources
From 88 to 24 Seconds: Drop-In Replacements That Cut CI/CD Runtime by Over Half on my frontend app
No major refactoring required or complex migration. Just three tool swaps that massively cut my run time for lint/formatting/type checking. Includes setup instructions and when to avoid these tools
Vitest vs Jest: Why I would always pick Vitest over Jest in 2026
Jest has served the JS community for years, but as of 2026 I strongly believe you should be only considering using Vitest going forward. Here are my reasons why!
Why you should start using projects in Vitest configuration
Handling different configuration files for different tests in Vitest can be a pain to manage - but luckily you can use projects very easily. In this blog post I will cover how to set them up.
How to write good frontend tests: 37 tips and tricks
My tips and tricks on how to write good frontend tests. In this blog post I cover general tips and advice on how to write nicer and easier to maintain tests.
Vitest Browser Mode - The Future of Frontend Testing
This is a full introduction guide to what you need to know about Vitest Browser Mode, from what it is, how to install and configure it, and writing your first tests
Automated Accessibility Testing for React - Tools and Best Practices you can use
As well as testing the core functionality of your code with regular tests, you can use automated tools to test that your app or website has good accessibility. In this post, I will explain how and what tools you can use, and why manual testing is still essential...
Introducing Interactive Testing Challenges to How To Test Frontend.com
We now have interactive testing challenges on the site, so you can see if you can solve the tricky failing tests
Absolutely everything you need to know about act() in React tests
An in depth look into the act() function when testing React, how to use it, when to use it and fix common issues when using it
Testing async React RSC components
React RSC components have been out for a few years, but testing them in Vitest or Jest is still difficult. In this blog post I go over some approaches, workarounds and hacky fixes so you can test the async behaviour (and Suspense)
How to add type check assertions in Vitest
Did you know you can use Vitest to easily make assertions on your TypeScript types? In this page I will go over how you can easily start using this cool feature
Frontend Testing Glossary
A glossary for all the confusing testing related words that get thrown around!
Jest Cheatsheet
Cheatsheet for common Jest testing tasks. Includes basic test structure, common matchers, handling async code, testing errors, and more. Hopefully you can find what you need here to copy and paste into your test code.
Welcome to the new HowToTestFrontend blog!
Welcome to the new HowToTestFrontend.com site, where you can learn how to test your Frontend applications. I am building up the site content, we will launch soon