Writing Vitest Browser Mode Tests Introduction

Ok, we have made it past the installation and you can run Vitest Browser Mode locally (with a UI) and on your CI/CD pipeline.

Let's get into the more fun stuff now... writing tests and seeing it visually!

In this lesson I'll show you some example code which you can copy/paste and play around with.

This will give you a quick start on writing a Vitest Browser Mode test that renders a React component and makes assertions about what was rendered

In the upcoming lessons in this course, we will cover all the Vitest Browser Mode features in much more detail!

Loading full lesson...