04. Globals/Elaboration

Loading "Recap of Globals"
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.
Loading Globals Elaboration form