Vitest is a test runner that is powered by Vite. It offers features like hot module reloading, TypeScript and JSX Support, and mocking. It is the recommended tool for testing when working with a Vite project. In this Larabit, we'll take a look at using it within a Vue 3 project in order to test your components.
Assertions with VitestTesting SFCs
