---
title: "Discussion on \"A Practical Guide to Mocking Svelte Stores with Vitest\" | Hashnode"
description: "Discussion on \"A Practical Guide to Mocking Svelte Stores with Vitest\". Unlock the power of Vitest mock and hoisting, transforming Svelte store testing into a faster, more enjoyable, and intuitive experience"
url: "https://hashnode.com/posts/a-practical-guide-to-mocking-svelte-stores-with-vitest/657c30444c49f421617e505d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A Practical Guide to Mocking Svelte Stores with Vitest](https://bentilling.com/a-practical-guide-to-mocking-svelte-stores-with-vitest?utm_source=hashnode&utm_medium=feed)

Unlock the power of Vitest mock and hoisting, transforming Svelte store testing into a faster, more enjoyable, and intuitive experience

Dec 15, 2023 · 4 min read · bentilling.com  
Read the article

-   [#vitest](https://hashnode.com/tag/vitest)
-   [#hoisting](https://hashnode.com/tag/hoisting)
-   [#svelte](https://hashnode.com/tag/svelte)
-   [#sveltekit](https://hashnode.com/tag/sveltekit)
-   [#mocking](https://hashnode.com/tag/mocking)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Ben Tilling](https://hashnode.com/@bentilling)

@bentilling · London, UK

  
[View profile](https://hashnode.com/@bentilling)

Software Developer

Former software engineer and product manager at Expedia. Now focusing on creating my own products and sharing the learnings with the dev world!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
