Currently, I'm in the process of testing a component using Vue test utils and Jest. I'm curious about the most effective method to verify that the correct values are being passed to child components through their props.
Specifically, I want to ensure that the "items" attribute is receiving the expected values.
<template>
<component-1 :items="myItems"/>
</template>
I am aware that Vue test utils' props() can be used to inspect the props, but I'm interested to know if there might be a more optimal approach.