Unit Testing (Vitest) Tutorial #3 - Using Different Matchers @NetNinja
Unit Testing (Vitest) Tutorial #3 - Using Different Matchers  @NetNinja
Uploaded November 2025 | Updated November 2026, 24 minutes ago
In this Unit Testing tutorial series, you'll learn how to setup Vitest in a project, and use it to write effective unit tests for your code.

πŸΏπŸ‘‡ Get the Testing Bundle (inc Testing Next/React) for just $7:
https://netninja.dev/p/testing-bundle

πŸΏπŸ‘‡ Get early access to the course on NetNinja.dev:
https://netninja.dev/p/unit-testing-with-vitest-crash-course

πŸ”₯πŸ‘‡ Get access to premium courses with Net Ninja Pro:
https://netninja.dev/p/net-ninja-pro/#prosignup

πŸ”—πŸ‘‡ Course files on GitHub:
github.com/iamshaunjp/vitest-unit-testing-tutorial

πŸ”—πŸ‘‡ Vitest Docs:
https://vitest.dev/guide/
Unit Testing (Vitest) Tutorial #3 - Using Different MatchersUsing Alpine with HTMX (& Laravel) #2 - Adding a FilterCopilot CLI Tutorial #9 - Custom AgentsLaravel with HTMX Tutorial #5 - Adding an HTMX FlagGit Crash Course #4 - Staging FilesLaravel with HTMX Tutorial #3 - Fletching Content with HTMXFirebase AI Logic Tutorial #5 - AI Logic with FirestoreFirebase Crash Course (Auth & Firestore) #1 - Intro & Firebase SetupGemini CLI Tutorial #10 - Using the Nanobanana ExtensionOpenAI Codex Tutorial #1 - Introduction & SetupFirebase AI Logic Tutorial #3 - Sending a PromptCoding with AI #6 - Making a Next.js Site with Copilot
Net Ninja |

Unit Testing (Vitest) Tutorial #3 - Using Different Matchers

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER