lundi 1 mars 2021

Cypress with vue - test a method is getting clled

I have am using cypress with vue(nuxt) how can I test if a method is called?

https://docs.cypress.io/api/commands/spy.html

This look promising buy if my method is called deleteStudent() how do I access it?

Aucun commentaire:

Enregistrer un commentaire