How to unit test js functions in the vue instance
[issue link]I have some functions in the vue component. for eg
getKey(param1, param2) {
return param1+param2
}
onUploadComplete() {
this.uploadCompleted = true;
this.uploadStarted = false;
//Need to test the properties in the instance as well
}
Also some values will be updated in the store. I Couldn’t find any examples in the documentation
How can I test this?