How to spy on store functions during Pinia store test?
Trying to test a Pinia store and assert the function being tested is calling other functions.
Example store:
Example test:
But this fails with
AssertionError: expected "spy" to be called once, but got 0 times
.
Is this possible to accomplish?1 Reply
bump