You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
counter.double=3// 🪄 getters are writable only in tests
198
+
199
+
// set to undefined to reset the default behavior
200
+
// @ts-expect-error: usually it's a number
201
+
counter.double=undefined
202
+
counter.double// 2 (=1 x 2)
203
+
```
204
+
178
205
## E2E tests
179
206
180
207
When it comes to pinia, you don't need to change anything for e2e tests, that's the whole point of e2e tests! You could maybe test HTTP requests, but that's way beyond the scope of this guide 😄.
0 commit comments