Loading "Recap of Globals"
Run locally for transcripts
Woah, another exercise done! π Great job.
This one has given you even more tools for your mocking arsenal, this time focusing on mocking globals. Whether it's mocking a value or a method, or an environment variable, you can use the built-in utilities Vitest provides to make your testing life easier.
Feel free to explore these utilities in more detail using the links below.