How to spy on store functions during Pinia store test? - Nuxt