Unable to pass arguments to button methods in jasmine using vue and moment

I have a Vue app I am trying to unit test, using jasmine/karma. Below is the code in a component: After using v-for=(data,index) from database, I’m setting data.date in the template:

Vectors in Javascript that need to pass a Jasmine test

Ive only started coding recently and am still trying to figure out how everything works, my teacher has given me this work and taught us how to make the constructor but nothing about the other stuff. …