How to test stores

8 lessons

Get access to the complete guide to developing and deploying fast, production-ready Pinia apps.
Buy License
58. Exercise - Mocking Stores Introduction

In this exercise, we will unit test a component that uses a store. We will cover mocking the store with testing Pinia and mock some requests like in the previous exercise.

Eduardo

Eduardo San Martin Morote

5

Debugging stores with the Devtools

1 lessons