How to test stores

8 lessons

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

In this exercise, we will unit test a store. We will cover mocking requests with msw, testing the store's behavior, adding Pinia plugins in tests, and mocking timers.

Eduardo

Eduardo San Martin Morote

5

Debugging stores with the Devtools

1 lessons