Ben Tillingbentilling.com·Dec 15, 2023A Practical Guide to Mocking Svelte Stores with VitestI'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 framework. Imagine this... You've just refactored some complex code into a killer custom Svelte store...500 readsvitestAdd a thoughtful commentNo comments yetBe the first to start the conversation.