Do you know what to test?
You may also like:
How and Why We Moved to Vue.js

The most common question about unit testing Vue components I see out there is "what exactly should I test?"

While it’s possible to test either too much or too little, my observation is that developers will usually err on the side of testing too much. After all, no one wants to be the guy or girl whose under-tested component crashed the app in production.


Source link