#vitest
Read more stories on Hashnode
Articles with this tag
I'm using Svelte stores in this post as an example, but the principle applies to any function or variable you want to mock with vitest, with any js...