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 utilize built-in utilities Vitest provides to make your testing life easier.
Feel free to explore those utilities in more detail using the links below.