Rapid Testing with Vitest: Master Unit Testing & Mocking
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

Conditional Environments in Vitest

In this lesson, learn how to apply the DOM environment to only particular test cases using the Vitest environmentMatchGlobs setting and magic comments.