In this article, I will show you how you can test props and custom prop validators in a simple and performant way, without spying on the console error. Testing Vue.js component props In this tutorial, we’re going to use Jest and Vue Test Utils to test a NotificationMessage component. The component has two props: A […]
The post How to test custom prop validators in Vue.js appeared first on Vue.js Tutorials.